WC_Admin_Menus::custom_menu_order( bool $enabled )

Custom menu order.


Description Description


Parameters Parameters

$enabled

(Required) Whether custom menu ordering is already enabled.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/admin/class-wc-admin-menus.php

	public function custom_menu_order( $enabled ) {
		return $enabled || current_user_can( 'manage_woocommerce' );
	}

Top ↑

User Contributed Notes User Contributed Notes

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