wp_get_block_style_variation_name_from_class


wp_get_block_style_variation_name_from_class ( $class_string )

Parameters:
  • (string) class_string CSS class string to look for a variation in.
Returns:
  • (array|null) The block style variation name if found.
Defined at:

Description

Determines the block style variation names within a CSS class string.

Related Functions

wp_render_block_style_variation_class_name, wp_create_block_style_variation_instance_name, wp_resolve_block_style_variation_ref_values, wp_enqueue_block_style_variation_styles, wp_register_block_style_variations_from_theme_json_partials

Top Google Results

User discussions

wpseek mobile