wp-includes/class-wp-block-styles-registry.php:185Checks if a block style is registered for the given block type.
$block_namestring|null$block_style_namestring|nullbool public function is_registered( $block_name, $block_style_name ) { return isset( $block_name, $block_style_name, $this->registered_block_styles[ $block_name ][ $block_style_name ] ); }Introduced in 5.3.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$block_name retyped from string to string|null.verified against source$block_style_name retyped from string to string|null.verified against sourcesrc/wp-includes/class-wp-block-styles-registry.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.