Description
Filters the arguments for the Pages widget.
Occurrences
Filename | Line Number |
---|---|
wp-includes/widgets/class-wp-widget-pages.php | 77 |
Parameters
Type | Name | Description |
---|---|---|
array | $args | An array of arguments to retrieve the pages list. |
array | $instance | Array of settings for the current widget. |
PHP Doc
/**
* Filters the arguments for the Pages widget.
*
* @since 2.8.0
* @since 4.9.0 Added the `$instance` parameter.
*
* @see wp_list_pages()
*
* @param array $args An array of arguments to retrieve the pages list.
* @param array $instance Array of settings for the current widget.
*/