Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Removing 'Become a Vendor' from My Account Page and Dashboard
- This topic has 3 replies, 2 voices, and was last updated 6 years, 5 months ago by
WCFM Forum.
- AuthorPosts
- January 31, 2019 at 6:18 pm #46069
boogiepet
ParticipantHi,
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.
- February 1, 2019 at 4:33 am #46128
WCFM Forum
MemberHi,
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
- February 2, 2019 at 12:26 pm #46277
boogiepet
ParticipantThanks 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?
- February 2, 2019 at 4:50 pm #46321
WCFM Forum
MemberHi,
Child theme is not essential.
You may add such codes using this addon – https://wordpress.org/plugins/code-snippets/
Thank You
- AuthorPosts
- The topic ‘Removing 'Become a Vendor' from My Account Page and Dashboard’ is closed to new replies.