WC_Admin_Menus::custom_menu_order( bool $enabled )
Custom menu order.
Description Description
Parameters Parameters
- $enabled
-
(Required) Whether custom menu ordering is already enabled.
Return Return
(bool)
Source Source
File: includes/admin/class-wc-admin-menus.php
public function custom_menu_order( $enabled ) { return $enabled || current_user_can( 'manage_woocommerce' ); }