rest_prepare_menu_location – filter
Filters menu location data returned from the REST API.
Parameters
- .
- ( 5.9.0 ) . .
- $response
- ( WP_REST_Response ) The response object. . . .
- ( object ) $location The original location object. . . .
- ( WP_REST_Request ) $request Request used to generate the response. . . .