Skip to content

Instantly share code, notes, and snippets.

@ofernandolopes
Last active August 29, 2015 14:21
Show Gist options
  • Save ofernandolopes/b737fa10c13b82ce9cbe to your computer and use it in GitHub Desktop.
Save ofernandolopes/b737fa10c13b82ce9cbe to your computer and use it in GitHub Desktop.
WooCommerce - Remove Menu Customers Option
//Remove Menu Customers Option of WooCommerce
add_action( 'admin_menu', 'remove_menu_pages', 999 );
function remove_menu_pages() {
remove_menu_page( 'wc-customers-list' );
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment