WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about widget_text_content

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/widgets/class-wp-widget-text.php apply_filters 296 /**
* 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.
*
* @since 4.8.0
*
* @param string $text The widget content.
* @param array $instance Array of settings for the current widget.
* @param WP_Widget_Text $widget Current Text widget instance.
*/

Hook Parameters

Parameter Type Name Description
string $text The widget content.
array $instance Array of settings for the current widget.
WP_Widget_Text $widget Current Text widget instance.