WPDev.one
Core Function
View Source on Trac ↗

get_hooked_blocks()

get_hooked_blocks( )

Retrieves block types hooked into the given block, grouped by anchor block type and the relative position.

Return Value

(array[])
Array of block types grouped by anchor block type and the relative position.

Function Information

Since Version
6.4.0
Source File
wp-includes/blocks.php
Advertisement