ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php

WP_REST_Menu_Locations_Controller::get_items_permissions_check()

Method: Checks whether a given request has permission to read menu locations.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php:82

Used by 0 functions | Uses 1 function

WP_REST_Menu_Locations_Controller::get_items()

Method: Retrieves all menu locations, depending on user context.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php:102

Used by 0 functions | Uses 2 functions

WP_REST_Menu_Locations_Controller::get_item_permissions_check()

Method: Checks if a given request has access to read a menu location.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php:125

Used by 0 functions | Uses 1 function

WP_REST_Menu_Locations_Controller::get_item()

Method: Retrieves a specific menu location.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php:145

Used by 0 functions | Uses 2 functions

WP_REST_Menu_Locations_Controller::prepare_item_for_response()

Method: Prepares a menu location object for serialization.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php:169

Used by 2 functions | Uses 4 functions

rest_prepare_menu_location

Filter Hook: Filters menu location data returned from the REST API.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php:209

Used by 1 function | Uses 0 functions

WP_REST_Menu_Locations_Controller::prepare_links()

Method: Prepares links for the request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php:220

Used by 1 function | Uses 1 function

WP_REST_Menu_Locations_Controller::get_item_schema()

Method: Retrieves the menu location’s schema, conforming to JSON Schema.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php:257

Used by 0 functions | Uses 0 functions

WP_REST_Menu_Locations_Controller::get_collection_params()

Method: Retrieves the query params for collections.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php:298

Used by 1 function | Uses 0 functions

WP_REST_Menu_Locations_Controller

Class: Core class used to access menu locations via the REST API.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php:17

Used by 0 functions | Uses 1 function
1 2 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy