WordPress at a glance
filter is not described

widget_title filter-hook . WP 2.6.0

Filters the widget title.

Usage

add_filter( 'widget_title', 'filter_function_name_5561', 10, 3 );
function filter_function_name_5561( $title, $instance, $id_base ){
	// filter...

	return $title;
}
$title(string)
The widget title.
Default: 'Pages'
$instance(array)
Array of settings for the current widget.
$id_base(mixed)
The widget ID.

Where the hook is called

WP_Widget_Pages::widget()
WP_Widget_Archives::widget()
WP_Widget_Search::widget()
WP_Widget_Meta::widget()
WP_Widget_Categories::widget()
WP_Widget_Recent_Posts::widget()
WP_Nav_Menu_Widget::widget()
WP_Widget_Calendar::widget()
WP_Widget_RSS::widget()
WP_Widget_Recent_Comments::widget()
WP_Widget_Tag_Cloud::widget()
WP_Widget_Custom_HTML::widget()
WC_Widget::widget_start()
WP_Widget_Text::widget()
WP_Widget_Media::widget()
wp-includes/widgets/class-wp-widget-pages.php 54
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-archives.php 46
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-search.php 46
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-meta.php 48
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-categories.php 50
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-recent-posts.php 51
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-nav-menu-widget.php 52
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-calendar.php 55
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-rss.php 76
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-recent-comments.php 78
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-tag-cloud.php 80
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-custom-html.php 130
$title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base );
woocommerce/includes/abstracts/abstract-wc-widget.php 134
if ( $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ) ) { // phpcs:ignore Squiz.PHP.DisallowMultipleAssignments.Found, WordPress.CodeAnalysis.AssignmentInCondition.Found
wp-includes/widgets/class-wp-widget-text.php 220
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
wp-includes/widgets/class-wp-widget-media.php 229
$title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base );

Where the hook is used (in WP core)

wp-includes/default-filters.php 123
add_filter( $filter, 'wptexturize' );
wp-includes/default-filters.php 124
add_filter( $filter, 'convert_chars' );
wp-includes/default-filters.php 125
add_filter( $filter, 'esc_html' );