Parsed: 130927
<?php /** * REST API: WP_REST_Menu_Items_Controller class * * @package WordPress * @subpackage REST_API * @since 5.9.0 */ /* class WP_REST_Menu_Items_Controller */ /* function WP_REST_Menu_Items_Controller::get_nav_menu_item() – Get the nav menu item, if the ID is valid. */ /* function WP_REST_Menu_Items_Controller::get_items_permissions_check() – Checks if a given request has access to read menu items. */ /* function WP_REST_Menu_Items_Controller::get_item_permissions_check() – Checks if a given request has access to read a menu item if they have access to edit them. */ /* function WP_REST_Menu_Items_Controller::check_has_read_only_access() – Checks whether the current user has read permission for the endpoint. */ /* function WP_REST_Menu_Items_Controller::create_item() – Creates a single post. */ /* function WP_REST_Menu_Items_Controller::update_item() – Updates a single nav menu item. */ /* function WP_REST_Menu_Items_Controller::delete_item() – Deletes a single menu item. */ /* function WP_REST_Menu_Items_Controller::prepare_item_for_database() – Prepares a single post for create or update. */ /* function WP_REST_Menu_Items_Controller::prepare_item_for_response() – Prepares a single post output for response. */ /* function WP_REST_Menu_Items_Controller::prepare_links() – Prepares links for the request. */ /* function WP_REST_Menu_Items_Controller::get_schema_links() – Retrieve Link Description Objects that should be added to the Schema for the posts collection. */ /* function WP_REST_Menu_Items_Controller::get_item_schema() – Retrieves the term’s schema, conforming to JSON Schema. */ /* function WP_REST_Menu_Items_Controller::get_collection_params() – Retrieves the query params for the posts collection. */ /* function WP_REST_Menu_Items_Controller::prepare_items_query() – Determines the allowed query_vars for a get_items() response and prepares them for WP_Query. */ /* function WP_REST_Menu_Items_Controller::get_menu_id() – Gets the id of the menu that the given menu item belongs to. */