W3cubDocs

/WordPress

apply_filters( 'get_pages', WP_Post[] $pages, array $parsed_args )

Filters the retrieved list of pages.

Parameters

$pages

(WP_Post[]) Array of page objects.

$parsed_args

(array) Array of get_pages() arguments.

Source

File: wp-includes/post.php

View on Trac

Changelog

Version Description
2.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_pages