WordPress hook directory
get_pages

Description

Applied to the list of pages returned by the get_pages function. Filter function arguments: list of pages (each item of which contains a page data array), get_pages function argument list (telling which pages were requested).

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for get_pages

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.1 wp-includes/post.php 1069 View in context filter
2.1 wp-includes/post.php 1139 View in context filter
2.2 wp-includes/post.php 1075 View in context filter
2.2 wp-includes/post.php 1145 View in context filter
2.3 wp-includes/post.php 1132 View in context filter
2.3 wp-includes/post.php 1215 View in context filter
2.5 wp-includes/post.php 1877 View in context filter
2.5 wp-includes/post.php 1951 View in context filter
2.5 wp-includes/post.php 1962 View in context filter
2.6 wp-includes/post.php 2002 View in context filter
2.6 wp-includes/post.php 2086 View in context filter
2.6 wp-includes/post.php 2097 View in context filter
2.7 wp-includes/post.php 2083 View in context filter
2.7 wp-includes/post.php 2175 View in context filter
2.7 wp-includes/post.php 2204 View in context filter
2.8 wp-includes/post.php 2243 View in context filter
2.8 wp-includes/post.php 2341 View in context filter
2.8 wp-includes/post.php 2370 View in context filter
2.9 wp-includes/post.php 2487 View in context filter
2.9 wp-includes/post.php 2585 View in context filter
2.9 wp-includes/post.php 2618 View in context filter
3.0 wp-includes/post.php 3081 View in context filter
3.0 wp-includes/post.php 3181 View in context filter
3.0 wp-includes/post.php 3214 View in context filter
3.1 wp-includes/post.php 3323 View in context filter
3.1 wp-includes/post.php 3423 View in context filter
3.1 wp-includes/post.php 3456 View in context filter
3.2 wp-includes/post.php 3359 View in context filter
3.2 wp-includes/post.php 3501 View in context filter
3.2 wp-includes/post.php 3534 View in context filter
3.3 wp-includes/post.php 3359 View in context filter
3.3 wp-includes/post.php 3501 View in context filter
3.3 wp-includes/post.php 3534 View in context filter
3.4 wp-includes/post.php 3406 View in context filter
3.4 wp-includes/post.php 3548 View in context filter
3.4 wp-includes/post.php 3581 View in context filter
3.5 wp-includes/post.php 3645 View in context filter
3.5 wp-includes/post.php 3787 View in context filter
3.5 wp-includes/post.php 3823 View in context filter
3.6 wp-includes/post.php 3624 View in context filter
3.6 wp-includes/post.php 3765 View in context filter
3.6 wp-includes/post.php 3804 View in context filter
3.7 wp-includes/post.php 3730 View in context filter
3.7 wp-includes/post.php 3860 View in context filter
3.7 wp-includes/post.php 3899 View in context filter
3.8 wp-includes/post.php 3737 View in context filter
3.8 wp-includes/post.php 3867 View in context filter
3.8 wp-includes/post.php 3906 View in context filter
3.9 wp-includes/post.php 4175 View in context filter
3.9 wp-includes/post.php 4306 View in context filter
3.9 wp-includes/post.php 4356 View in context filter
4.0 wp-includes/post.php 4472 View in context filter
4.0 wp-includes/post.php 4614 View in context filter
4.0 wp-includes/post.php 4666 View in context filter
4.1 wp-includes/post.php 4471 View in context filter
4.1 wp-includes/post.php 4613 View in context filter
4.1 wp-includes/post.php 4665 View in context filter
4.2 wp-includes/post.php 4519 View in context filter
4.2 wp-includes/post.php 4661 View in context filter
4.2 wp-includes/post.php 4713 View in context filter
4.3 wp-includes/post.php 4599 View in context filter
4.3 wp-includes/post.php 4741 View in context filter
4.3 wp-includes/post.php 4793 View in context filter
4.4 wp-includes/post.php 4407 View in context filter
4.4 wp-includes/post.php 4549 View in context filter
4.4 wp-includes/post.php 4601 View in context filter
4.5 wp-includes/post.php 4558 View in context filter
4.5 wp-includes/post.php 4700 View in context filter
4.5 wp-includes/post.php 4752 View in context filter
4.6 wp-includes/post.php 4460 View in context filter
4.6 wp-includes/post.php 4602 View in context filter
4.6 wp-includes/post.php 4654 View in context filter
4.7 wp-includes/post.php 4575 View in context filter
4.7 wp-includes/post.php 4717 View in context filter
4.7 wp-includes/post.php 4769 View in context filter
4.8 wp-includes/post.php 4580 View in context filter
4.8 wp-includes/post.php 4722 View in context filter
4.8 wp-includes/post.php 4774 View in context filter
4.9 wp-includes/post.php 4651 View in context filter
4.9 wp-includes/post.php 4793 View in context filter
4.9 wp-includes/post.php 4845 View in context filter
5.0 wp-includes/post.php 4817 View in context filter
5.0 wp-includes/post.php 4959 View in context filter
5.0 wp-includes/post.php 5011 View in context filter
5.1 wp-includes/post.php 5074 View in context filter
5.1 wp-includes/post.php 5234 View in context filter
5.1 wp-includes/post.php 5286 View in context filter

Related Hooks

We find related hooks using word stems. get_pages has 1 significant word stem(s): pages. Note that some of the hooks below may not appear in all versions of WP.