Created
October 11, 2017 18:09
-
-
Save gabrielmerovingi/f9148eccba87a19c72d4422462ac3c88 to your computer and use it in GitHub Desktop.
By default, myCRED will not reward points if an order in WooCommerce was paid with points. This is how you override this and force myCRED to payout anyways.
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( 'mycred_woo_reward_mycred_payment', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment