How to Reove “Become a Vendor” radio from Dokan 3.11?
-
Hi,
I was using this code before and it was working fine
function remove_become_a_vendor_button() {
remove_action( 'woocommerce_after_my_account', [ dokan()->frontend_manager->become_a_vendor, 'render_become_a_vendor_section' ]);
}
add_action( 'init', 'remove_become_a_vendor_button' );After update, this code doesn’t work anymore
I have tried the code from this page also but it didn’t work either
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.