wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_prepare_navigation_area › WordPress Filter Hooks

Since5.9.0
Deprecatedn/a
apply_filters( 'rest_prepare_navigation_area', $response, $area, $request )
Parameters: (3)
  • (WP_REST_Response|WP_Error) $response The response object, or WP_Error object on failure.
    Required: Yes
  • (object) $area The original status object.
    Required: Yes
  • (WP_REST_Request) $request Request used to generate the response.
    Required: Yes
Defined at:
Codex:

Filters a navigation area returned from the REST API.





Source

return apply_filters( 'rest_prepare_navigation_area', $response, $area, $request );