• Resolved Deepak

    (@d88pak)


    Hi,

    I have watched this video (https://youtu.be/ECmL5E8Ugqw?si=IkySxyMtSDwcA45v) and tried to apply the code on my child theme’s functions.php ( I am using electro theme) but I can still see the button.

    By the way, the example shown in the video seems to be like Dokan as a theme (not a plugin) but Dokan is a plugin now, right?

    How can I remove this button in current situation. I am using Dokan Pro

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Deepak, try adding the code

    #-- Remove Become a Vendor Button --#
    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' );
    Thread Starter Deepak

    (@d88pak)

    It worked.

    Thanks!

    Plugin Support sazdhossain

    (@sazdhossain)

    Hi @d88pak,

    Due to inactivity, this topic is now being closed. If you have any further concerns or queries, please don’t hesitate to start a new topic.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How To Remove “Become a Vendor” Button?’ is closed to new replies.