Skip to content

Instantly share code, notes, and snippets.

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 gabrielmerovingi/79781aba410a0650a29eb46e729e47f9 to your computer and use it in GitHub Desktop.
Save gabrielmerovingi/79781aba410a0650a29eb46e729e47f9 to your computer and use it in GitHub Desktop.
Change the log entry users see in their history for points they gain from WooCommerce store purchases.
/**
* Change Woo Rewards Log
* @version 1.0
*/
function mycred_pro_adjust_woo_rewards_log( $log_entry = '' ) {
return 'Store Purchase Reward';
}
add_filter( 'mycred_woo_reward_log', 'mycred_pro_adjust_woo_rewards_log' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment