wp_list_pages

wp_list_pages

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_list_pages') is found 1 times:

  • /wp-includes/post-template.php line 1374
    	 * @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.
    	 */
    	$html = apply_filters( 'wp_list_pages', $output, $parsed_args, $pages );
    
    	if ( $parsed_args['echo'] ) {
    		echo $html;
    	} else {
    		return $html;
    	}
    

See this hook used in plugins: