Created
May 10, 2016 15:08
-
-
Save greenhornet79/a7924ea1fdd3522aeecd8d7b6a2ac32d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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