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



widget_custom_html_content ›

Since4.8.1
已弃用n/a
apply_filters( 'widget_custom_html_content', $content, $instance, $this )
参数: (3)
  • (string) $content The widget content.
    Required: Yes
  • (array) $instance Array of settings for the current widget.
    Required: Yes
  • (WP_Widget_Custom_HTML) $this Current Custom HTML widget instance.
    Required: Yes
定义在:
文档:

Filters the content of the Custom HTML widget.





源码

$content = apply_filters( 'widget_custom_html_content', $content, $instance, $this );