Created
May 10, 2016 15:13
-
-
Save greenhornet79/3d0ba27116b07c8f426b79a146c93ae8 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 | |
add_filter( 'leaky_paywall_translate_payment_gateway_slug_to_name', 'leaky_paywall_2checkout_gateway_slug', 10, 2 ); | |
function leaky_paywall_2checkout_gateway_slug( $return, $slug ) { | |
if ( $slug == '2checkout' ) { | |
$return = '2checkout'; | |
} | |
return $return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment