Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php

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:411

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:426

Used by 2 functions | Uses 3 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:463

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:485

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:525

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 8 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:154

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:178

Used by 2 functions | Uses 2 functions

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:198

Used by 0 functions | Uses 17 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:287

Used by 0 functions | Uses 15 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:367

Used by 0 functions | Uses 7 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
  • Swag
  • Documentation
  • 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
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry