get_hooked_blocks
get_hooked_blocks ( No parameters )
Returns:- (array[]) Array of block types grouped by anchor block type and the relative position.
Defined at: - Introduced in WordPress: 6.4.0
- Deprecated in WordPress: —
Description
Retrieves block types hooked into the given block, grouped by anchor block type and the relative position.