• Resolved jmflores16

    (@jmflores16)


    Hi, nice to meet you. I would like to know how to change the “bank address” field for another one?

    Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WC Lovers

    (@wclovers)

    You may use such snippet –

    add_filter( 'wcfm_marketplace_settings_fields_billing_bank', function( $bank_fields, $user_id ) {
    	if( isset( $bank_fields['ac_number'] ) ) {
    		$bank_fields['ac_number']['label'] = 'BSB Number';
    		$bank_fields['ac_number']['placeholder'] = 'BSB Number';
    	}
    	if( isset( $bank_fields['bank_name'] ) ) {
    		$bank_fields['bank_name']['label'] = 'Account Number';
    		$bank_fields['bank_name']['placeholder'] = 'Your bank account number';
    	} 
    	return $bank_fields;
    }, 50, 2 );
    Thread Starter jmflores16

    (@jmflores16)

    Thanks! Worked fine!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.