wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/block-supports/block-style-variations.php › WordPress File
Functions6
› Block support to enable per-section styling of block types via
block style variations.
Function | Short description |
---|---|
wp_enqueue_block_style_variation_styles | Enqueues styles for block style variations. |
wp_get_block_style_variation_name_from_class | Determines the block style variation names within a CSS class string. |
wp_register_block_style_variations_from_theme_json_partials | Registers block style variations read in from theme.json partials. |
wp_render_block_style_variation_class_name | Ensures the variation block support class name generated and added to block attributes in the `render_block_data` filter gets applied to the block's markup. |
wp_render_block_style_variation_support_styles | Renders the block style variation's styles. |
wp_resolve_block_style_variation_ref_values | Recursively resolves any `ref` values within a block style variation's data. |