wp_page_menu

wp_page_menu

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_page_menu') is found 1 times:

  • /wp-includes/post-template.php line 1530
    	 * @param string $menu The HTML output.
    	 * @param array  $args An array of arguments. See wp_page_menu()
    	 *                     for information on accepted arguments.
    	 */
    	$menu = apply_filters( 'wp_page_menu', $menu, $args );
    
    	if ( $args['echo'] ) {
    		echo $menu;
    	} else {
    		return $menu;
    	}