Reply To: Withdrawal Methods Request2021-03-29T12:12:19+05:30

Home Forums WooWallet Withdrawal Withdrawal Methods Request Reply To: Withdrawal Methods Request

Subrata Mal
Keymaster
Post count: 175

Please use below-attached code in the theme function.php file

add_filter('woo_wallet_withdrawal_bacs_account', 'woo_wallet_withdrawal_bacs_account_callback');
if(!function_exists('woo_wallet_withdrawal_bacs_account_callback')){
    function woo_wallet_withdrawal_bacs_account_callback($bank_account_details){
        $bank_account_details = array(
            array(
                'label' => __('CBU', 'woo-wallet-withdrawal'),
                'name' => 'bacs_cbu'
            ),
            array(
                'label' => __('ALIAS', 'woo-wallet-withdrawal'),
                'name' => 'bacs_alias'
            ),
            array(
                'label' => __('CUIT/DNI'),
                'name' => 'bacs_cuit_dni'
            ),
            array(
                'label' => __('NOMBRE y APPELLIDO', 'woo-wallet-withdrawal'),
                'name' => 'bacs_nombre_y_appellido'
            ),
        );
        return $bank_account_details;
    }
}