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-global-styles-controller.php

WP_REST_Global_Styles_Controller::get_theme_items()

Method: Returns the given theme global styles variations.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:640

Used by 0 functions | Uses 6 functions

WP_REST_Global_Styles_Controller::get_theme_items_permissions_check()

Method: Checks if a given request has access to read a single theme global styles config.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:615

Used by 0 functions | Uses 4 functions

WP_REST_Global_Styles_Controller::get_theme_item_permissions_check()

Method: Checks if a given request has access to read a single theme global styles config.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:542

Used by 0 functions | Uses 4 functions

WP_REST_Global_Styles_Controller::get_theme_item()

Method: Returns the given theme global styles config.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:566

Used by 0 functions | Uses 8 functions

WP_REST_Global_Styles_Controller::prepare_item_for_response()

Method: Prepare a global styles config output for response.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:350

Used by 2 functions | Uses 8 functions

WP_REST_Global_Styles_Controller::get_post()

Method: Get the post, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:136

Used by 4 functions | Uses 3 functions

WP_REST_Global_Styles_Controller::register_routes()

Method: Registers the controllers routes.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:40

Used by 0 functions | Uses 2 functions

WP_REST_Global_Styles_Controller::prepare_links()

Method: Prepares links for the request.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:418

Used by 1 function | Uses 2 functions

WP_REST_Global_Styles_Controller::_sanitize_global_styles_callback()

Method: Sanitize the global styles ID or stylesheet to decode endpoint.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:124

Used by 0 functions | Uses 0 functions

WP_REST_Global_Styles_Controller::get_available_actions()

Method: Get the link relations available for the post and current user.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:437

Used by 1 function | Uses 2 functions

WP_REST_Global_Styles_Controller::get_item_permissions_check()

Method: Checks if a given request has access to read a single global style.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:164

Used by 0 functions | Uses 7 functions

WP_REST_Global_Styles_Controller::protected_title_format()

Method: Overwrites the default protected title format.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:459

Used by 0 functions | Uses 0 functions

WP_REST_Global_Styles_Controller::check_read_permission()

Method: Checks if a global style can be read.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:197

Used by 1 function | Uses 1 function

WP_REST_Global_Styles_Controller::get_collection_params()

Method: Retrieves the query params for the global styles collection.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:470

Used by 0 functions | Uses 0 functions

WP_REST_Global_Styles_Controller::get_item()

Method: Returns the given global styles config.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:210

Used by 0 functions | Uses 3 functions

WP_REST_Global_Styles_Controller::get_item_schema()

Method: Retrieves the global styles type’ schema, conforming to JSON Schema.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:481

Used by 0 functions | Uses 1 function

WP_REST_Global_Styles_Controller::update_item_permissions_check()

Method: Checks if a given request has access to write a single global styles config.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:227

Used by 0 functions | Uses 6 functions

WP_REST_Global_Styles_Controller::check_update_permission()

Method: Checks if a global style can be edited.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:252

Used by 2 functions | Uses 1 function

WP_REST_Global_Styles_Controller::update_item()

Method: Updates a single global style config.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:264

Used by 0 functions | Uses 9 functions

WP_REST_Global_Styles_Controller::prepare_item_for_database()

Method: Prepares a single global styles config for update.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:297

Used by 1 function | Uses 2 functions

WP_REST_Global_Styles_Controller

Class: Base Global Styles REST API Controller.

Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:13

Used by 0 functions | Uses 1 function

WP_REST_Global_Styles_Controller::__construct()

Method: Constructor.

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

Used by 1 function | Uses 0 functions
  • 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