wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



widget_text_content › Filtr WordPress Hooks

Od4.8.0
Przestarzałyn/a
› apply_filters( 'widget_text_content', $text, $instance, $this )
Parametry: (3)
  • () text The widget content.
    Wymagane: Tak
  • () instance Array of settings for the current widget.
    Wymagane: Tak
  • () widget Current Text widget instance.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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