Created
December 29, 2019 22:35
-
-
Save rashedripon/c25994367dcf80bdcbbfc92e9e2326b5 to your computer and use it in GitHub Desktop.
Remove "Become a vendor" button from customers account
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Remove "Become a vendor" button from customers account | |
if(class_exists('Dokan_Pro')) { | |
remove_action( 'woocommerce_after_my_account', array( Dokan_Pro::init(), 'dokan_account_migration_button' ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment