Filter Hook
View Source on Trac ↗
Filter Hook
menu_order
apply_filters( 'menu_order', $menu_order ) Filters the order of administration menu items. A truthy value must first be passed to the {@see 'custom_menu_order'} filter for this filter to work. Use the following to enable custom menu ordering: add_filter( 'custom_menu_order', '__return_true' );
Parameters 0 required
| Name / Type | Description |
|---|---|
| $menu_order mixed | No description available. |
Return Value
(mixed)
No return value description available.
Hook Information
Source File
wp-admin/includes/menu.php
Advertisement