WP_REST_Menu_Items_Controller::prepare_item_for_response()
Method: Prepares a single post output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:493
Method: Prepares a single post output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:493
Filter Hook: Filters the menu item data for a REST API response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:637
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:648
Method: Retrieves Link Description Objects that should be added to the Schema for the posts collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:685
Method: Retrieves the term’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:712
Method: Retrieves the query params for the posts collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:933
Method: Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:982
Method: Gets the id of the menu that the given menu item belongs to.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:1013
Class: Core class to access nav items via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:17
Method: Prepares a single post for create or update.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:328
Method: Gets the nav menu item, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:27
Filter Hook: Filters a menu item before it is inserted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:481
Method: Checks if a given request has access to read menu items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:44
Method: Checks if a given request has access to read a menu item if they have access to edit them.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:62
Method: Checks whether the current user has read permission for the endpoint.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:82
Method: Creates a single post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:112
Action Hook: Fires after a single menu item is created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:151
Action Hook: Fires after a single menu item is completely created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:181
Method: Updates a single nav menu item.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:203
Method: Deletes a single menu item.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:277
Action Hook: Fires immediately after a single menu item is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:314