Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support sazdhossain

    (@sazdhossain)

    Hello @d88pak,

    Please try the following snippet –

    #-- 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( 'wp_head', 'remove_become_a_vendor_button' );

    Hope this helps!

    Thread Starter Deepak

    (@d88pak)

    Hi,

    I tried it. This same code on the URL I have shared but it didn’t work.

    Thanks!

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @d88pak

    You can use this third-party plugin Dokan Kits to remove the Become a Vendor Button from the WooCommerce My Account page.

    Hope this helps.

    Thanks!

    Thread Starter Deepak

    (@d88pak)

    Hi @tanvirh

    It worked using this plugin.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.