apply_filters ( ‘widguet_text_conten ’, string $text , array $instance , WP_Widguet_Text $widguet )

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

$text string
The widguet content.
$instance array
Array of settings for the current widguet.
$widguet WP_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.