Skip to content

Instantly share code, notes, and snippets.

@thomasplevy
Created August 8, 2016 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasplevy/2314d3207a708a894dc594ed6afd41a0 to your computer and use it in GitHub Desktop.
Save thomasplevy/2314d3207a708a894dc594ed6afd41a0 to your computer and use it in GitHub Desktop.
<?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