apply_filters( 'wp_list_pages_excludes', string[] $exclude_array )

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


Parameters

$exclude_array string[]
An array of page IDs to exclude.

Top ↑

Source

File: wp-includes/post-template.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes

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