WP_REST_Menus_Controller::get_item_schema()
Retrieves the term’s schema, conforming to JSON Schema.
Retrieves the term’s schema, conforming to JSON Schema.
Checks if a request has access to read menus.
Returns the value of a menu’s auto_add setting.
Returns the names of the locations assigned to the menu.
Gets the term, if the ID is valid.
Updates the menu’s auto add from a REST request.
Updates the menu’s locations from a REST request.
Prepares a single term for create or update.
Prepares a single term output for response.
Prepares links for the request.