Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Vendors › Remove Paypal email field and bank detail fields
- This topic has 5 replies, 2 voices, and was last updated 6 years, 3 months ago by WCFM Forum.
- AuthorPosts
- September 22, 2018 at 11:07 pm #32298jhwebParticipant
Hi, my vendors will only be using Stripe so I need to remove all of the other options. I have disabled them on the WC Vendors Pro settings but they still show on the WCFM dashboard. See attached image.
Any help would be appreciated
Thanks, JonAttachments:
You must be logged in to view attached files. - September 24, 2018 at 8:55 pm #32466WCFM ForumMember
Hi,
Kindly add this code to your site-
add_filter( 'wcvendors_vendor_dashboard_bank_details_enable', '__return_false' ); add_filter( 'wcfm_wcvendors_settings_fields_billing', function( $billing_fields, $user_id ) { return array(); }, 50, 2);
Thank You
- September 24, 2018 at 9:21 pm #32471jhwebParticipant
Thanks for your reply, where do I add the code?
- September 24, 2018 at 9:29 pm #32473WCFM ForumMember
Hi,
Please add this in child theme’s function.php
Thank You
- September 25, 2018 at 2:14 pm #32521jhwebParticipant
Hi thanks, I really appreciate your assistance. I added the code to the functions.php
worked perfectly.
Thanks
Jon - September 27, 2018 at 1:47 pm #32671WCFM ForumMember
You are welcome 🙂
If you ever get a chance then please add a review for me – https://wordpress.org/support/plugin/wc-frontend-manager/reviews/
Thank You
- AuthorPosts
- The topic ‘Remove Paypal email field and bank detail fields’ is closed to new replies.