Hide coupon menu under woocommerce
-
I want to hide coupon menu under woocommerce from wordpress dashboard,how is it possible?
code: function wooOptionActions(){ remove_submenu_page( 'woocommerce', 'edit.php?post_type=shop_coupon' ); } add_action( 'admin_init', 'wooOptionActions' );
- The topic ‘Hide coupon menu under woocommerce’ is closed to new replies.