apply_filters( 'widget_title', string $title, array $instance, mixed $id_base )

Filters the widget title.

Parameters

$title

(string) The widget title. Default 'Pages'.

$instance

(array) Array of settings for the current widget.

$id_base

(mixed) The widget ID.

Source

File: wp-includes/widgets/class-wp-widget-pages.php

View on Trac

Changelog

Version Description
2.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_title