Created
April 15, 2021 18:23
-
-
Save JarrydLong/c5f0386c249249416fc79e5f5872fe88 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 | |
/** | |
* This code snippet with override the 2Checkout label. | |
* | |
* This snippet can be added to either your theme's functions.php file | |
* or by the use of a Code Snippet plugin. | |
*/ | |
function pacificplugins_2checkout_label( $label ){ | |
return 'Debit/Credit Cards'; | |
} | |
add_filter( 'pps_twocheckout_label', 'pacificplugins_2checkout_label', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment