wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



rest_prepare_menu_location › WordPress Filter Hooks

Da5.9.0
Deprecaton/a
apply_filters( 'rest_prepare_menu_location', $response, $location, $request )
Parametri: (3)
  • (WP_REST_Response) $response The response object.
    Richiesto:
  • (object) $location The original location object.
    Richiesto:
  • (WP_REST_Request) $request Request used to generate the response.
    Richiesto:
Definito a:
Codex:

Filters menu location data returned from the REST API.





Sorgenti

return apply_filters( 'rest_prepare_menu_location', $response, $location, $request );