wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



widget_text_content › WordPress Filter Hooks

Da4.8.0
Deprecaton/a
apply_filters( 'widget_text_content', $text, $instance, $this )
Parametri: (3)
  • (string) $text The widget content.
    Richiesto:
  • (array) $instance Array of settings for the current widget.
    Richiesto:
  • (WP_Widget_Text) $widget Current Text widget instance.
    Richiesto:
Definito a:
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.





Sorgenti

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