Created
February 26, 2015 14:03
-
-
Save ramiabraham/0ec0df2e67ed31331cc5 to your computer and use it in GitHub Desktop.
AffiliateWP - force pending / accepted referrals
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
| <?php | |
| // set as pending by default | |
| // add_filter( 'affwp_auto_complete_referral', '__return_false' ); | |
| // set as accepted by default | |
| add_filter( 'affwp_auto_complete_referral', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment