rest_prepare_nav_menu_item – filter

Filters the menu item data for a REST API response. 

Parameters

.
( 5.9.0 ) . .
$response
( WP_REST_Response ) The response object. . . .
( object ) $menu_item Menu item setup by {@see wp_setup_nav_menu_item()}. . . .
( WP_REST_Request ) $request Request object. . . .
API Letters: ,,,,

Implementers