New and updated in 6.3.0
-
functionwp_get_global_styles()
Gets the styles resulting of merging core, theme, and user data.
-
function_load_remote_featured_patterns()
Register `Featured` (category) patterns from wordpress.org/patterns.
-
Prepares links for the request.
Used by 1 function | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:386 -
Builds a unified template object based on a theme file.
-
Builds a unified template object based a post Object.
-
function_get_block_templates_files()
Retrieves the template files from the theme.
-
Filters the threshold for how many of the first content media elements to not lazy-load.
-
function_load_remote_block_patterns()
Register Core’s official patterns from wordpress.org/patterns.
-
Prepare a single template output for response
Used by 6 functions | Uses 13 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:670 -
functionget_default_block_categories()
Returns the list of default categories for block types.
-
functionlocate_block_template()
Finds a block template with equal or higher specificity than a given PHP template file.
-
Returns the style property for the given path.
-
Sanitizes the input according to the schemas.
-
Returns the metadata for each block.
-
Returns the stylesheet that results of processing the theme.json structure this object represents.
-
Appends a sub-selector to an existing one.
-
Registers the core block patterns and categories.
-
Filters the list of request headers that are allowed for REST API CORS requests.
-
Filters the list of response headers that are exposed to REST API CORS requests.
-
Prepares a block type object for serialization.
Used by 2 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php:249 -
Retrieves the block type’ schema, conforming to JSON Schema.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php:396 -
Registers a block type from the metadata stored in the `block.json` file.
-
Filters a response based on the context defined in the schema.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-blocks-controller.php:49 -
Constructor.
-
Prepares server-registered blocks for the block editor.
-
hookpre_trash_post
Filters whether a post trashing should take place.
-
function_prime_term_caches()
Adds any terms from the given IDs to the cache that do not already exist in cache.
-
function_prime_site_caches()
Adds any sites from the given IDs to the cache that do not already exist in cache.
-
function_prime_comment_caches()
Adds any comments from the given IDs to the cache that do not already exist in cache.