WCFM Disable 'Become a vendor' link ONLY from Register

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!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM WCFM Disable 'Become a vendor' link ONLY from Register

Viewing 2 reply threads
  • Author
    Posts
    • #59896
      slipksizz
      Participant

      Hello,

      How can I disable the ‘Become a vendor’ link only from register.
      I need to have it on Dashboard – My account only, when the user is already logged in with his account.

      Thanks,
      Slipk.

    • #59966
      slipksizz
      Participant

      Someone help???
      I really need a response.

      Tried replace, searched for the string, absolutely nothing can do to remove that only from the register because I can’t find not even the class.

    • #60207
      WCFM Forum
      Member

      HI,

      Please add this line to your child theme’s functions.php to disable “Become vendor link” –

      add_filter( 'wcfm_is_allow_my_account_become_vendor', '__return_false' );

      Thank You

Viewing 2 reply threads
  • The topic ‘WCFM Disable 'Become a vendor' link ONLY from Register’ is closed to new replies.