wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_interactivity_process_directives › WordPress Function

Since6.5.0
Deprecatedn/a
wp_interactivity_process_directives ( $html )
Parameters:
  • (string) $html The HTML content to process.
    Required: Yes
Returns:
  • (string) The processed HTML content. It returns the original content when the HTML contains unbalanced tags.
Defined at:
Codex:

Processes the interactivity directives contained within the HTML content and updates the markup accordingly.



Source

function wp_interactivity_process_directives( string $html ): string {
	return wp_interactivity()->process_directives( $html );
}