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:495
Method: Prepares a single post output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:495
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: Retrieve 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:934
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:983
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:1012
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:113
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:152
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:182
Method: Updates a single nav menu item.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:205
Method: Deletes a single menu item.
Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:279
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:316
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:330
Method: Get 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:483