apply_filters( 'menu_order', array $menu_order )

Filters the order of administration menu items.

Description Description

A truthy value must first be passed to the ‘custom_menu_order’ filter for this filter to work. Use the following to enable custom menu ordering:

add_filter( 'custom_menu_order', '__return_true' );

Top ↑

Parameters Parameters


(array) An ordered array of menu items.

Top ↑

Source Source

File: wp-admin/includes/menu.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.