W3cubDocs

/WordPress

apply_filters( 'wp_page_menu', string $menu, array $args )

Filters the HTML output of a page-based menu.

Description

See also

Parameters

$menu

(string) The HTML output.

$args

(array) An array of arguments.

Source

File: wp-includes/post-template.php

View on Trac

Changelog

Version Description
2.7.0 Introduced.

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