wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_interactivity_process_directives › WordPress Function

Since6.5.0
已弃用n/a
wp_interactivity_process_directives ( $html )
参数:
  • (string) $html The HTML content to process.
    Required: Yes
返回:
  • (string) The processed HTML content. It returns the original content when the HTML contains unbalanced tags.
定义在:
文档:

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



源码

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