wp_interactivity_process_directives()
Processes the interactivity directives contained within the HTML content and updates the markup accordingly.
Хуков нет.
Возвращает
Строку
. The processed HTML content. It returns the original content when the HTML contains unbalanced tags.
Использование
wp_interactivity_process_directives( $html ): string;
- $html(строка) (обязательный)
- The HTML content to process.
Список изменений
С версии 6.5.0 | Введена. |
Код wp_interactivity_process_directives() wp interactivity process directives WP 6.7.1
function wp_interactivity_process_directives( string $html ): string { return wp_interactivity()->process_directives( $html ); }