W3cubDocs

/WordPress

apply_filters( ‘interactivity_process_directives’, bool $enabled )

Filters whether Interactivity API should process directives.

Parameters

$enabledbool
Whether the directives processing is enabled.

Source

$interactivity_process_directives_enabled = apply_filters( 'interactivity_process_directives', true );

Changelog

Version Description
6.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/interactivity_process_directives