Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function custom_wc_mercadopago_args( $args ) {
- $args['payment_methods'] = array(
- 'excluded_payment_types' => array(
- // array( 'id' => 'account_money' ),
- array( 'id' => 'debit_card' ),
- array( 'id' => 'ticket' ),
- // array( 'id' => 'bank_transfer' ),
- // array( 'id' => 'atm' )
- )
- );
- return $args;
- }
- add_action( 'woocommerce_mercadopago_args', 'custom_wc_mercadopago_args' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement