Hide data for the bank tranfers

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 data for the bank tranfers

Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #97449
      jp2019
      Participant

      I need to hide the IBAN boxes, bank code and IFSC code because they are not needed for the Brazilian market. In which file and in which line of the code can I modify that?

      Attachments:
      You must be logged in to view attached files.
    • #98735
      Sushobhan
      Keymaster

      Hi,
      You can use the following snippet for this –

      function remove_bank_fields( $bank_fields ) {
          unset( $bank_fields['iban'] );
          unset( $bank_fields['swift'] );
          unset( $bank_fields['ifsc'] );
          return $bank_fields;
      }
      
      add_filter( 'wcfm_marketplace_settings_fields_billing_bank', 'remove_bank_fields' );

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

Viewing 1 reply thread
  • The topic ‘Hide data for the bank tranfers’ is closed to new replies.