New and updated in 6.7.0
-
Utility method to retrieve the main instance of the class.
Used by 7 functions | Uses 0 functions | Source: wp-includes/class-wp-block-templates-registry.php:249 -
Unregisters a template.
Used by 0 functions | Uses 3 functions | Source: wp-includes/class-wp-block-templates-registry.php:222 -
Checks if a template is registered.
Used by 3 functions | Uses 0 functions | Source: wp-includes/class-wp-block-templates-registry.php:210 -
Retrieves registered templates matching a query.
Used by 0 functions | Uses 2 functions | Source: wp-includes/class-wp-block-templates-registry.php:163 -
Retrieves a registered template by its slug.
Used by 0 functions | Uses 1 function | Source: wp-includes/class-wp-block-templates-registry.php:133 -
Retrieves a registered template by its name.
Used by 0 functions | Uses 1 function | Source: wp-includes/class-wp-block-templates-registry.php:117 -
Retrieves all registered templates.
Used by 2 functions | Uses 0 functions | Source: wp-includes/class-wp-block-templates-registry.php:105 -
Registers a template.
Used by 0 functions | Uses 5 functions | Source: wp-includes/class-wp-block-templates-registry.php:40 -
Core class used for interacting with templates.
Used by 0 functions | Uses 0 functions | Source: wp-includes/class-wp-block-templates-registry.php:14 -
functionapply_block_hooks_to_content()
Runs the hooked blocks algorithm on the given content.
-
Resolves relative paths in theme.json styles to theme absolute paths and returns them in an array that can be embedded as the value of `_link` object in REST API responses.
-
Calls the callback function specified in the `$get_value_callback` property with the given arguments and returns the result. It can be modified with `block_bindings_source_value` filter.
-
Processes the block bindings and updates the block attributes with the values from the sources.
-
functionwp_set_option_autoload_values()
Sets the autoload values for multiple options in the database.
-
functionwp_set_options_autoload()
Sets the autoload value for multiple options in the database.
-
functionwp_set_option_autoload()
Sets the autoload value for an option in the database.
-
Core class used by the HTML processor during HTML parsing for indicating that a given operation is unsupported.
Used by 0 functions | Uses 0 functions | Source: wp-includes/html-api/class-wp-html-unsupported-exception.php:30 -
hookwp_set_password
Fires after the user password is set.
-
classWP_Style_Engine
The main class integrating all other WP_Style_Engine_* classes.
Used by 0 functions | Uses 0 functions | Source: wp-includes/style-engine/class-wp-style-engine.php:31 -
Adds global style rules to the inline style for each block.
-
Checks if a given request has access to read a single theme global styles config.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:611 -
Checks if a given request has access to read a single theme global styles config.
Used by 1 function | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:517 -
Helper function that constructs a WP_Query args array from a `Query` block properties.
-
Registers a block type from the metadata stored in the `block.json` file.
-
functionwp_get_image_mime()
Returns the real mime type of an image file.