Created
February 5, 2020 13:58
-
-
Save madeincosmos/084b5dc9d0612e0e498a827554add875 to your computer and use it in GitHub Desktop.
Display 30 points and rewards events on the My Account page
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
add_filter( 'wc_points_rewards_my_account_points_events', 'custom_points_and_rewards_events_on_my_account_page' ); | |
function custom_points_and_rewards_events_on_my_account_page( $points, $user ) { | |
return 30; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment