wordpress / latest / hooks / widget_title.html

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 all references

$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );

Used By

Used By Description

Changelog

Version Description
2.6.0 Introduced.

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