Parsed: 130991
<?php /** * REST API: WP_REST_Menus_Controller class * * @package WordPress * @subpackage REST_API * @since 5.9.0 */ /* class WP_REST_Menus_Controller */ /* function WP_REST_Menus_Controller::get_items_permissions_check() – Checks if a request has access to read menus. */ /* function WP_REST_Menus_Controller::get_item_permissions_check() – Checks if a request has access to read or edit the specified menu. */ /* function WP_REST_Menus_Controller::get_term() – Gets the term, if the ID is valid. */ /* function WP_REST_Menus_Controller::check_has_read_only_access() – Checks whether the current user has read permission for the endpoint. */ /* function WP_REST_Menus_Controller::prepare_item_for_response() – Prepares a single term output for response. */ /* function WP_REST_Menus_Controller::prepare_links() – Prepares links for the request. */ /* function WP_REST_Menus_Controller::prepare_item_for_database() – Prepares a single term for create or update. */ /* function WP_REST_Menus_Controller::create_item() – Creates a single term in a taxonomy. */ /* function WP_REST_Menus_Controller::update_item() – Updates a single term from a taxonomy. */ /* function WP_REST_Menus_Controller::delete_item() – Deletes a single term from a taxonomy. */ /* function WP_REST_Menus_Controller::get_menu_auto_add() – Returns the value of a menu’s auto_add setting. */ /* function WP_REST_Menus_Controller::handle_auto_add() – Updates the menu’s auto add from a REST request. */ /* function WP_REST_Menus_Controller::get_menu_locations() – Returns the names of the locations assigned to the menu. */ /* function WP_REST_Menus_Controller::handle_locations() – Updates the menu’s locations from a REST request. */ /* function WP_REST_Menus_Controller::get_item_schema() – Retrieves the term’s schema, conforming to JSON Schema. */