WPDev.one
Core Function
View Source on Trac ↗

wp_interactivity_process_directives()

wp_interactivity_process_directives( string $html )

Processes the interactivity directives contained within the HTML content

Parameters 1 required

Name / Type Description
$html
string

The HTML content to process.

Required

Return Value

(string)
The processed HTML content. It returns the original content when the HTML contains unbalanced tags.

Function Information

Since Version
6.5.0
Source File
wp-includes/interactivity-api/interactivity-api.php
Advertisement