wp-includes/class-wp-theme-json.php:5977Extracts the block name from the block metadata path.
$block_metadataarraystring|null private static function get_block_name_from_metadata_path( $block_metadata ) { return $block_metadata['path'][2] ?? null; }Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
src/wp-includes/class-wp-theme-json.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.