W3cubDocs

/WordPress

apply_filters( 'wp_list_pages', string $output, array $parsed_args, WP_Post[] $pages )

Filters the HTML output of the pages to list.

Description

See also

Parameters

$output

(string) HTML output of the pages list.

$parsed_args

(array) An array of page-listing arguments.

$pages

(WP_Post[]) Array of the page objects.

Source

File: wp-includes/post-template.php

View on Trac

Changelog

Version Description
4.4.0 $pages added as arguments.
1.5.1 Introduced.

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