wp_page_menu_args

wp_page_menu_args

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_page_menu_args') is found 1 times:

  • /wp-includes/post-template.php line 1455
    	 *
    	 * @param array $args An array of page menu arguments. See wp_page_menu()
    	 *                    for information on accepted arguments.
    	 */
    	$args = apply_filters( 'wp_page_menu_args', $args );
    
    	$menu = '';
    
    	$list_args = $args;
    
    	// Show Home in the menu.
    

See this hook used in plugins: