apply_filters( ‘wp_list_pages_excludes’, string[] $exclude_array )

In this article

Filters the array of pages to exclude from the pages list.

Parameters

$exclude_arraystring[]
An array of page IDs to exclude.

Source

$parsed_args['exclude'] = implode( ',', apply_filters( 'wp_list_pages_excludes', $exclude_array ) );

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.