Uma área de pesquisa sobre o WordPress para devs e autores do tema



widget_text ›

Desde4.8.1
Obsoleton/a
apply_filters( 'widget_text', $text, $instance, $this )
Parâmetros: (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
Definido em:
Codex:

Filters the content of the Text widget.





Fonte

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