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


Lines:

1 to 33 of 33
<?php

/**
 * REST API: WP_REST_Global_Styles_Controller class
 *
 * @package    WordPress
 * @subpackage REST_API
 * @since 5.9.0
 */

/* class WP_REST_Global_Styles_Controller */
/* function WP_REST_Global_Styles_Controller::__construct() – Constructor. */
/* function WP_REST_Global_Styles_Controller::register_routes() – Registers the controllers routes. */
/* function WP_REST_Global_Styles_Controller::_sanitize_global_styles_callback() – Sanitize the global styles ID or stylesheet to decode endpoint. */
/* function WP_REST_Global_Styles_Controller::get_post() – Get the post, if the ID is valid. */
/* function WP_REST_Global_Styles_Controller::get_item_permissions_check() – Checks if a given request has access to read a single global style. */
/* function WP_REST_Global_Styles_Controller::check_read_permission() – Checks if a global style can be read. */
/* function WP_REST_Global_Styles_Controller::get_item() – Returns the given global styles config. */
/* function WP_REST_Global_Styles_Controller::update_item_permissions_check() – Checks if a given request has access to write a single global styles config. */
/* function WP_REST_Global_Styles_Controller::check_update_permission() – Checks if a global style can be edited. */
/* function WP_REST_Global_Styles_Controller::update_item() – Updates a single global style config. */
/* function WP_REST_Global_Styles_Controller::prepare_item_for_database() – Prepares a single global styles config for update. */
/* function WP_REST_Global_Styles_Controller::prepare_item_for_response() – Prepare a global styles config output for response. */
/* function WP_REST_Global_Styles_Controller::prepare_links() – Prepares links for the request. */
/* function WP_REST_Global_Styles_Controller::get_available_actions() – Get the link relations available for the post and current user. */
/* function WP_REST_Global_Styles_Controller::protected_title_format() – Overwrites the default protected title format. */
/* function WP_REST_Global_Styles_Controller::get_collection_params() – Retrieves the query params for the global styles collection. */
/* function WP_REST_Global_Styles_Controller::get_item_schema() – Retrieves the global styles type’ schema, conforming to JSON Schema. */
/* function WP_REST_Global_Styles_Controller::get_theme_item_permissions_check() – Checks if a given request has access to read a single theme global styles config. */
/* function WP_REST_Global_Styles_Controller::get_theme_item() – Returns the given theme global styles config. */
/* function WP_REST_Global_Styles_Controller::get_theme_items_permissions_check() – Checks if a given request has access to read a single theme global styles config. */
/* function WP_REST_Global_Styles_Controller::get_theme_items() – Returns the given theme global styles variations. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,,