WP_REST_Global_Styles_Controller::_sanitize_global_styles_callback()
Sanitize the global styles ID or stylesheet to decode endpoint.
Sanitize the global styles ID or stylesheet to decode endpoint.
Checks if a global style can be read.
Checks if a global style can be edited.
Get the link relations available for the post and current user.
Retrieves the query params for the global styles collection.
Returns the given global styles config.
Checks if a given request has access to read a single global style.
Retrieves the global styles type’ schema, conforming to JSON Schema.
Get the post, if the ID is valid.
Returns the given theme global styles config.