On this page
apply_filters( 'wp_list_pages_excludes', string[] $exclude_array )
Filters the array of pages to exclude from the pages list.
Parameters
$exclude_arraystring[]-
An array of page IDs to exclude.
Source
File: wp-includes/post-template.php. View all references
$parsed_args['exclude'] = implode( ',', apply_filters( 'wp_list_pages_excludes', $exclude_array ) );
Related
Used By
| Used By | Description |
|---|---|
| wp_list_pages() wp-includes/post-template.php | Retrieves or displays a list of pages (or hierarchical post type items) in list (li) format. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_list_pages_excludes