Last active
November 29, 2018 17:15
-
-
Save jrick1229/7f0247167ef5899f6fd0be86e25663b9 to your computer and use it in GitHub Desktop.
Change the 'None' string in SATT
This file contains hidden or 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( 'wcsatt_single_product_one_time_option_description', 'custom_one_time_purchase_string', 12, 2 ); | |
function custom_one_time_purchase_string( $none_string, $product ) { | |
// Alter the value of $none_string to use a custom string | |
$none_string = "One-Time Purchase"; | |
return $none_string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment