Removing 'Become a Vendor' from My Account Page and Dashboard

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Best Multi Vendor Marketplace Plugin for WordPress Forums WCFM – Marketplace (WooCommerce Multivendor Marketplace) Removing 'Become a Vendor' from My Account Page and Dashboard

Viewing 3 reply threads
  • Author
    Posts
    • #46069
      boogiepet
      Participant

      Hi,

      I have 3 questions that are related to each other:

      (1) Is it possible to remove “Become a Vendor” from the My Account page?
      (2) Is it possible to remove “Become a Vendor” from the My Account > Dashboard page?
      (3) Is it possible to remove menu items from the sidebar (left) within the My Account dashboard?

      If the answers to 1-3 are “yes”, please explain how this can be done.

      FWIW, I am not able to view the forum threads. When I click a thread heading I am sent to My Account dashboard.

      Thanks in advance for your support.

    • #46128
      WCFM Forum
      Member

      Hi,

      Thanks for get in touch with us.

      Well, for 1 & 2 you have to add this line of code to your child theme’s functions.php –

      add_filter( 'wcfm_is_allow_my_account_become_vendor', '__return_false' );

      3. MY Account dashboard is part of WooCommerce core and off course possible to remove items from there. Now tell me which items you want to remove, I will guide you accordingly.

      Thank You

    • #46277
      boogiepet
      Participant

      Thanks for the direction. THis solved the issue once I created a child theme.

      For anyone who is looking to create a child theme, I used the One-Click Child Theme plugin and it worked perfectly.

      As a follow-up, is there any documentation that contains these filters?

    • #46321
      WCFM Forum
      Member

      Hi,

      Child theme is not essential.

      You may add such codes using this addon – https://wordpress.org/plugins/code-snippets/

      Thank You

Viewing 3 reply threads
  • The topic ‘Removing 'Become a Vendor' from My Account Page and Dashboard’ is closed to new replies.