WP_REST_Menu_Items_Controller::prepare_item_for_response()
Prepares a single post output for response.
Prepares a single post output for response.
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
Prepares links for the request.
Updates a single nav menu item.
Core class used to access menu locations via the REST API.
Menu Locations Constructor.
Retrieves the query params for collections.
Retrieves a specific menu location.
Checks if a given request has access to read a menu location.
Retrieves the menu location’s schema, conforming to JSON Schema.