wp_interactivity_process_directives
wp_interactivity_process_directives ( $html )
Parameters:- (string) html The HTML content to process.
Returns:- (string) The processed HTML content. It returns the original content when the HTML contains unbalanced tags.
Defined at: - Introduced in WordPress: 6.5.0
- Deprecated in WordPress: —
Description
Processes the interactivity directives contained within the HTML content
and updates the markup accordingly.