New and updated in 6.3.0
-
This is used to convert the internal representation of variables to the CSS representation.
-
Given a tree, converts the internal representation of variables to the CSS representation.
-
Returns the selectors metadata for a block.
-
Generates all the element selectors for a block.
-
Generates style declarations for a node’s features e.g., color, border, typography etc. that have custom selectors in their related block’s metadata.
-
Prepends a sub-selector to an existing one.
-
functionwp_lazyload_term_meta()
Queue term meta for lazy-loading.
-
Retrieves the revision’s schema, conforming to JSON Schema.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:372 -
Checks if a given request has access to read a single global style.
-
Gets the parent post, if the ID is valid.
-
Returns decoded JSON from post content string, or a 404 if not found.
Used by 2 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:128 -
Returns paginated revisions of the given global styles config custom post type.
-
Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
-
Prepares the revision for the REST response.
Used by 1 function | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:291 -
Core class used to access global styles revisions via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:17 -
Constructor.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:50 -
Registers the controller’s routes.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:71 -
Retrieves the query params for collections.
Used by 2 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:402 -
functionwp_get_first_block()
Finds the first occurrence of a specific block in an array of blocks.
-
Retrieves Post Content block attributes from the current post template.
-
functionexcerpt_remove_footnotes()
Parses footnotes markup out of a content string, and renders those appropriate for the excerpt.