wp-includes/class-wp-block-list.php:52Constructor.
$blocksarray[]|WP_Block[]$available_contextarrayoptionalarray()$registryWP_Block_Type_Registryoptionalnull public function __construct( $blocks, $available_context = array(), $registry = null ) { if ( ! $registry instanceof WP_Block_Type_Registry ) { $registry = WP_Block_Type_Registry::get_instance(); } $this->blocks = $blocks; $this->available_context = $available_context; $this->registry = $registry; }Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/class-wp-block-list.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.