hooked_block_{$hooked_block_type}
hooked_block_{$hooked_block_type}
Appears in: wordpress-6.5, wordpress-6.5.2, wordpress-6.5.3, wordpress-6.5.4, wordpress-6.5.5, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7, wordpress-6.7.1, wordpress-6.7.2, wordpress-6.8
Hook Type: filter
Displaying hooks found in version: wordpress-6.8apply_filters('hooked_block_{$hooked_block_type}') is found 2 times:
- /wp-includes/blocks.php line 985981982983984985986987988989990991
* @param
array
$parsed_anchor_block
The anchor block, in parsed block
array
format.
* @param WP_Block_Template|WP_Post|
array
$context
The block template, template part, post object,
*
or
pattern that the anchor block belongs to.
*/
$parsed_hooked_block
= apply_filters(
"hooked_block_{$hooked_block_type}"
,
$parsed_hooked_block
,
$hooked_block_type
,
$relative_position
,
$parsed_anchor_block
,
$context
);
if
( null ===
$parsed_hooked_block
) {
continue
;
}
// It's possible that the filter returned a block of a different type, so we explicitly
- /wp-includes/blocks.php line 10431039104010411042104310441045104610471048
/** This filter is documented in wp-includes/blocks.php */
$parsed_hooked_block
= apply_filters(
'hooked_block'
,
$parsed_hooked_block
,
$hooked_block_type
,
$relative_position
,
$parsed_anchor_block
,
$context
);
/** This filter is documented in wp-includes/blocks.php */
$parsed_hooked_block
= apply_filters(
"hooked_block_{$hooked_block_type}"
,
$parsed_hooked_block
,
$hooked_block_type
,
$relative_position
,
$parsed_anchor_block
,
$context
);
if
( null ===
$parsed_hooked_block
) {
unset(
$hooked_block_types
[
$index
] );
}
}