Created
October 2, 2017 09:39
-
-
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.
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
/** | |
* 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