Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function leaky_paywall_register_2checkout_gateway( $gateways ) {
$gateways['2checkout'] = array(
'label' => '2Checkout',
'admin_label' => '2Checkout Credit / Debit Card',
'class' => 'Leaky_Paywall_Payment_Gateway_2checkout'
);
return $gateways;
}
add_filter( 'leaky_paywall_payment_gateways', 'leaky_paywall_register_2checkout_gateway', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment