menu_order

menu_order

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('menu_order') is found 1 times:

  • /wp-admin/includes/menu.php line 306
    	 * @since 2.8.0
    	 *
    	 * @param array $menu_order An ordered array of menu items.
    	 */
    	$menu_order = apply_filters( 'menu_order', $menu_order );
    	$menu_order = array_flip( $menu_order );
    
    	$default_menu_order = array_flip( $default_menu_order );
    
    	/**
    	 * @global array $menu_order
    

See this hook used in plugins: