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



widget_text_content › Hooks de Filtros WordPress

Desde4.8.0
Obsoleton/a
› apply_filters( 'widget_text_content', $text, $instance, $this )
Parâmetros: (3)
  • () text The widget content.
    Required: Yes
  • () instance Array of settings for the current widget.
    Required: Yes
  • () widget Current Text widget instance.
    Required: Yes
Definido em:
Codex:

Filters the content of the Text widget to apply changes expected from the visual (TinyMCE) editor.

By default a subset of the_content filters are applied, including wpautop and wptexturize.




Fonte

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