custom_menu_order WordPress Filter Hook
The custom_menu_order hook allows you to specify the order in which your menus will appear on your site. This can be useful if you want to change the order of your menus without having to manually edit the code.
apply_filters( 'custom_menu_order', bool $custom ) #
Filters whether to enable custom ordering of the administration menu.
Description
See the ‘menu_order’ filter for reordering menu items.
Parameters
- $custom
(bool)Whether custom ordering is enabled. Default false.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |