Filters the content of the Text widget.
$textstring
$instancearray
$widgetWP_Widget_Text|WP_Widget_Custom_HTML
May also apply to some third party widgets as well. This filter hook can be used to replace any text within sidebar widgets.
$text = apply_filters( 'widget_text', $text, $instance, $this );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_text