Processes the interactivity directives contained within the HTML content and updates the markup accordingly.
Parameters
$htmlstringrequired- The HTML content to process.
Source
function wp_interactivity_process_directives( string $html ): string {
return wp_interactivity()->process_directives( $html );
}
Changelog
| Version | Description |
|---|---|
| 6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.