How to remove Coupon menu items from dashboard nav?
Viewing 5 Posts - 1 through 5 (of 5 total)
Author | Posts |
---|---|
May 8, 2014 at 8:58 pm 20159 | |
Nayem | I don't want sellers to be able to add coupons. How can the coupon menu item be removed from the dahsboard nav -- function dokan_get_dashboard_nav()? Maybe we can unset the item from the array? |
May 9, 2014 at 4:24 pm 20201 | |
Tareq Hasan | Yes, just unset it. [php] return $menus; add_filter( ‘dokan_get_dashboard_nav’, ‘dokan_remove_coupon_menu’ ); |
May 10, 2014 at 6:17 pm 20248 | |
Simon | Thank you Tareq! |
April 28, 2015 at 3:52 am 42490 | |
hector | Hello The file: dashboard-nav.php find the code: how can i write the correct code to don´t show “Coupons” Label in Menu. ?? Thanks. |
May 7, 2015 at 4:58 pm 43342 | |
Hjalte | Can someone tell me where to put the code mentioned by Tareq above? I really need to remove “Coupons” and “Reviews” from the Dashboard. Thanks in advance ! |
May 11, 2015 at 1:31 pm 43568 | |
Nayem | Hello Hjalte, I am really sorry for being late. You have posted in a resolved topic. You can put those code in your child theme’s function.php file. The code should be like-
|
Viewing 5 Posts - 1 through 5 (of 5 total)