wp-includes/blocks/tabs.php:58Filter to provide tabs list context to core/tabs and core/tab-list blocks.
$contextarray$parsed_blockarrayarrayfunction block_core_tabs_provide_context( array $context, array $parsed_block ): array { if ( 'core/tabs' === $parsed_block['blockName'] ) { // Generate a unique ID for the tabs instance first, so it can be used // to derive stable tab IDs. $tabs_id = $parsed_block['attrs']['anchor'] ?? wp_unique_id( 'tabs_' ); $tabs_list = block_core_tabs_generate_tabs_list( $parsed_block['innerBlocks'] ?? array(), $tabs_id ); $context['core/tabs-list'] = $tabs_list; $context['core/tabs-id'] = $tabs_id; } return $context;}Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
src/wp-includes/blocks/tabs.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.