apply_filters( 'widget_pages_args', array $args, array $instance )

Filters the arguments for the Pages widget.


Description

See also


Parameters

$args

An array of arguments to retrieve the pages list.

$instance

Array of settings for the current widget.


Source

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

View on GitHub



Changelog

Changelog
Version Description
4.9.0 Added the $instance parameter.
2.8.0 Introduced.