Filter hook 'wp_list_pages'

in WP Core File wp-includes/post-template.php at line 1374

Description

Filters the HTML output of the pages to list.

Occurrences

Filename Line Number
wp-includes/post-template.php 1374

Parameters

Type Name Description
string $output HTML output of the pages list.
array $parsed_args An array of page-listing arguments. See wp_list_pages() for information on accepted arguments.
WP_Post[] $pages Array of the page objects.

PHP Doc

/**
	 * Filters the HTML output of the pages to list.
	 *
	 * @since 1.5.1
	 * @since 4.4.0 `$pages` added as arguments.
	 *
	 * @see wp_list_pages()
	 *
	 * @param string    $output      HTML output of the pages list.
	 * @param array     $parsed_args An array of page-listing arguments. See wp_list_pages()
	 *                               for information on accepted arguments.
	 * @param WP_Post[] $pages       Array of the page objects.
	 */