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: - Introduced in WordPress: 6.6.0
- Deprecated in WordPress: —
Description
Determines the block style variation names within a CSS class string.