apply_filters( 'get_pages', \WP_Post[] $pages, array $parsed_args )
- Since
- 2.1.0
Filters the retrieved list of pages.
Parameters
$pages\WP_Post[]- Array of page objects.
$parsed_argsarray- Array of get_pages() arguments.
Fired at · 1
wp-includes/post.php:6710get_pages()
Source
View on Trac ↗View on GitHub ↗
6704 *6705 * @since 2.1.06706 *6707 * @param WP_Post[] $pages Array of page objects.6708 * @param array $parsed_args Array of get_pages() arguments.6709 */6710 return apply_filters( 'get_pages', $pages, $parsed_args );6711}6712 6713671467156716
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.