Created
August 8, 2016 16:40
-
-
Save thomasplevy/2314d3207a708a894dc594ed6afd41a0 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 // don't copy this line into your functions.php file | |
/** | |
* Update the display of recurring payment information | |
* @param string $text HTML / Text to display the price | |
* @param obj $product Instance of the LLMS_Product | |
* @return string | |
*/ | |
function llms_get_recurring_price_html( $text, $product ) { | |
return sprintf( __( 'Recurring Price: %s', 'my-text-domain' ), $text ); | |
} | |
add_filter( 'lifterlms_recurring_price_html', 'llms_recurring_price_html', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment