interactivity_process_directives
interactivity_process_directives
Appears in: wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7, wordpress-6.7.1, wordpress-6.7.2
Hook Type: filter
Displaying hooks found in version: wordpress-6.7.2apply_filters('interactivity_process_directives') is found 1 times:
- /wp-includes/class-wp-block.php line 466462463464465466467468469470471472
* @since 6.6.0
*
* @param bool
$enabled
Whether the directives processing is enabled.
*/
$interactivity_process_directives_enabled
= apply_filters(
'interactivity_process_directives'
, true );
if
(
$interactivity_process_directives_enabled
&& null ===
$root_interactive_block
&& (
( isset(
$this
->block_type->supports[
'interactivity'
] ) && true ===
$this
->block_type->supports[
'interactivity'
] ) ||
!
empty
(
$this
->block_type->supports[
'interactivity'
][
'interactive'
] )
)
) {