wp-includes/class-wp-block-styles-registry.php:145Retrieves the properties of a registered block style for the given block type.
$block_namestring$block_style_namestringarray|null public function get_registered( $block_name, $block_style_name ) { if ( ! $this->is_registered( $block_name, $block_style_name ) ) { return null; } return $this->registered_block_styles[ $block_name ][ $block_style_name ]; }Introduced in 5.3.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
array to array|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.