wpseek.com
A WordPress-centric search engine for devs and theme authors



widget_custom_html_content › WordPress Filter Hooks

Since4.8.1
Deprecatedn/a
apply_filters( 'widget_custom_html_content', $content, $instance, $this )
Parameters: (3)
  • (string) $content The widget content.
    Required: Yes
  • (array) $instance Array of settings for the current widget.
    Required: Yes
  • (WP_Widget_Custom_HTML) $widget Current Custom HTML widget instance.
    Required: Yes
Defined at:
Codex:

Filters the content of the Custom HTML widget.





Source

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