-1

i have a problem with dokan plugin. I want to remove "become a vendor" button from dokan profile (existing solution on wedevs not worked) anybody can help me?

  • 1
    You can use this blog post- https://nayemdevs.com/how-to-hide-become-a-vendor-button/ – Nazmul Hassan Feb 15 '19 at 09:53
  • 1
    You can remove the become a vendor button by adding this code to your theme functions.php file- `remove_action( 'woocommerce_after_my_account', array( Dokan_Pro::init(), 'dokan_account_migration_button' ) ); ` – Nazmul Hassan Apr 13 '19 at 16:18

2 Answers2

3

You can remove the become a vendor button by adding this code to your theme functions.php file- remove_action( 'woocommerce_after_my_account', array( Dokan_Pro::init(), 'dokan_account_migration_button' ) );

Nazmul Hassan
  • 321
  • 1
  • 7
0

You can hide the button also display:none !important through customize css and now one can click on button

2nd method is go to template file and remove that shortcode from there