WP_REST_Global_Styles_Controller
Methods
1 to 17 of 17
- WP_REST_Global_Styles_Controller::_sanitize_global_styles_callback() – Sanitize the global styles ID or stylesheet to decode endpoint.
- WP_REST_Global_Styles_Controller::check_read_permission() – Checks if a global style can be read.
- WP_REST_Global_Styles_Controller::check_update_permission() – Checks if a global style can be edited.
- WP_REST_Global_Styles_Controller::get_available_actions() – Get the link relations available for the post and current user.
- WP_REST_Global_Styles_Controller::get_collection_params() – Retrieves the query params for the global styles collection.
- WP_REST_Global_Styles_Controller::get_item_permissions_check() – Checks if a given request has access to read a single global style.
- WP_REST_Global_Styles_Controller::get_item_schema() – Retrieves the global styles type’ schema, conforming to JSON Schema.
- WP_REST_Global_Styles_Controller::get_item() – Returns the given global styles config.
- WP_REST_Global_Styles_Controller::get_post() – Get the post, if the ID is valid.
- 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.
- 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.
- WP_REST_Global_Styles_Controller::get_theme_items() – Returns the given theme global styles variations.
- WP_REST_Global_Styles_Controller::prepare_item_for_database() – Prepares a single global styles config for update.
- WP_REST_Global_Styles_Controller::prepare_links() – Prepares links for the request.
- WP_REST_Global_Styles_Controller::protected_title_format() – Overwrites the default protected title format.
- WP_REST_Global_Styles_Controller::update_item_permissions_check() – Checks if a given request has access to write a single global styles config.
- WP_REST_Global_Styles_Controller::update_item() – Updates a single global style config.