wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



widget_text_content › WordPress Filter Hooks

Seit4.8.0
Veraltetn/v
apply_filters( 'widget_text_content', $text, $instance, $this )
Parameter: (3)
  • () text The widget content.
    Erforderlich: Ja
  • () instance Array of settings for the current widget.
    Erforderlich: Ja
  • () widget Current Text widget instance.
    Erforderlich: Ja
Definiert in:
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.




Quellcode

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