Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WooCommerce MercadoPago - Exclude ticket/boleto
function custom_wc_mercadopago_args( $args ) {
$args['payment_methods'] = array(
'excluded_payment_types' => array(
array( 'id' => 'ticket' )
return $args;
add_action( 'woocommerce_mercadopago_args', 'custom_wc_mercadopago_args' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.