• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php

WP_REST_Menus_Controller::create_item()

Method: Creates a single term in a taxonomy.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:195

Used by 0 functions | Uses 19 functions

WP_REST_Menus_Controller::update_item()

Method: Updates a single term from a taxonomy.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:284

Used by 0 functions | Uses 17 functions

WP_REST_Menus_Controller::delete_item()

Method: Deletes a single term from a taxonomy.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:364

Used by 0 functions | Uses 8 functions

WP_REST_Menus_Controller::get_menu_auto_add()

Method: Returns the value of a menu’s auto_add setting.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:408

Used by 2 functions | Uses 1 function

WP_REST_Menus_Controller::get_items_permissions_check()

Method: Checks if a request has access to read menus.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:27

Used by 0 functions | Uses 2 functions

WP_REST_Menus_Controller::handle_auto_add()

Method: Updates the menu’s auto add from a REST request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:423

Used by 2 functions | Uses 4 functions

WP_REST_Menus_Controller::get_item_permissions_check()

Method: Checks if a request has access to read or edit the specified menu.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:45

Used by 0 functions | Uses 2 functions

WP_REST_Menus_Controller::get_menu_locations()

Method: Returns the names of the locations assigned to the menu.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:460

Used by 2 functions | Uses 1 function

WP_REST_Menus_Controller::get_term()

Method: Gets the term, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:63

Used by 3 functions | Uses 4 functions

WP_REST_Menus_Controller::handle_locations()

Method: Updates the menu’s locations from a REST request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:482

Used by 2 functions | Uses 5 functions

WP_REST_Menus_Controller::check_has_read_only_access()

Method: Checks whether the current user has read permission for the endpoint.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:86

Used by 2 functions | Uses 5 functions

WP_REST_Menus_Controller::get_item_schema()

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

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:522

Used by 3 functions | Uses 6 functions

WP_REST_Menus_Controller::prepare_item_for_response()

Method: Prepares a single term output for response.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:117

Used by 3 functions | Uses 9 functions

WP_REST_Menus_Controller::prepare_links()

Method: Prepares links for the request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:151

Used by 1 function | Uses 3 functions

WP_REST_Menus_Controller::prepare_item_for_database()

Method: Prepares a single term for create or update.

Source: wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:175

Used by 2 functions | Uses 2 functions

WP_REST_Menus_Controller

Class: Core class used to managed menu terms associated via the REST API.

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

Used by 0 functions | Uses 1 function
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry