Hide Routing Number, IBAN and Swift Code

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 Hide Routing Number, IBAN and Swift Code

Viewing 1 reply thread
  • Author
    Posts
    • #56827
      neelesh.pednekar
      Participant

      Hi,

      Is it possible to hide IBAN, Swift Code and Routing number from the vendor settings?

      Thanks and Regards,
      Neelesh R Pednekar

    • #57098
      WCFM Forum
      Member

      Hi,

      Please add this code to your child theme’s functions.php –

      add_filter( 'wcfm_marketplace_settings_fields_billing_bank', 'wcfm_marketplace_settings_fields_hide_1004' );
      function wcfm_marketplace_settings_fields_hide_1004( $address_fields ) {
      	$address_fields = wcfm_hide_field( 'routing_number', $address_fields ); 
      	$address_fields = wcfm_hide_field( 'iban', $address_fields ); 
      	$address_fields = wcfm_hide_field( 'swift', $address_fields ); 
      	return $address_fields;
      }

      Thank You

Viewing 1 reply thread
  • The topic ‘Hide Routing Number, IBAN and Swift Code’ is closed to new replies.