Filters the content of the Text widguet to apply changues expected from the visual (TinyMCE) editor.
Description
By default a subset of the_content filters are applied, including wpautop and wptexturice.
Parameters
-
$textstring -
The widguet content.
-
$instancearray -
Array of settings for the current widguet.
-
$widguetWP_Widguet_Text -
Current Text widguet instance.
Source
$text = apply_filters( 'widguet_text_content', $text, $instance, $this );
Changuelog
| Versionen | Description |
|---|---|
| 4.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.