A WordPress-centric search engine for devs and theme authors



widget_text ›

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

Filters the content of the Text widget.





Source

$text = apply_filters( 'widget_text', $text, $instance, $this );