rest_prepare_menu_location

rest_prepare_menu_location

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('rest_prepare_menu_location') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php line 210
    		 * @param WP_REST_Response $response The response object.
    		 * @param object           $location The original location object.
    		 * @param WP_REST_Request  $request  Request used to generate the response.
    		 */
    		return apply_filters( 'rest_prepare_menu_location', $response, $location, $request );
    	}
    
    	/**
    	 * Prepares links for the request.
    	 *
    	 * @since 5.9.0