On this page
apply_filters( 'widget_pages_args', array $args, array $instance )
Filters the arguments for the Pages widget.
Description
See also
Parameters
$argsarray-
An array of arguments to retrieve the pages list.
$instancearray-
Array of settings for the current widget.
Source
File: wp-includes/widgets/class-wp-widget-pages.php. View all references
apply_filters(
'widget_pages_args',
array(
'title_li' => '',
'echo' => 0,
'sort_column' => $sortby,
'exclude' => $exclude,
),
$instance
)
Related
Used By
| Used By | Description |
|---|---|
| WP_Widget_Pages::widget() wp-includes/widgets/class-wp-widget-pages.php | Outputs the content for the current Pages widget instance. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_pages_args