Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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