W3cubDocs

/WordPress

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

Filters the widget title.

Description

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–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_title