Remove Paypal email field and bank detail fields

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 WC Vendors Remove Paypal email field and bank detail fields

Viewing 5 reply threads
  • Author
    Posts
    • #32298
      jhweb
      Participant

      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, Jon

      Attachments:
      You must be logged in to view attached files.
    • #32466
      WCFM Forum
      Keymaster

      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

    • #32471
      jhweb
      Participant

      Thanks for your reply, where do I add the code?

    • #32473
      WCFM Forum
      Keymaster

      Hi,

      Please add this in child theme’s function.php

      Thank You

    • #32521
      jhweb
      Participant

      Hi thanks, I really appreciate your assistance. I added the code to the functions.php
      worked perfectly.
      Thanks
      Jon

    • #32671
      WCFM Forum
      Keymaster

      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

Viewing 5 reply threads
  • The topic ‘Remove Paypal email field and bank detail fields’ is closed to new replies.