Created
July 7, 2016 17:52
-
-
Save pauloiankoski/ec1ee5261490c3af0dce08855991fc8a to your computer and use it in GitHub Desktop.
Fix disable Cancel Score and Hold Score on Anti Fraud plugin.
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
if ( $score_points < $cancel_score && $cancel_score < 100 ) { | |
$new_status = 'wc-cancelled'; | |
} elseif ( $score_points < $hold_score && $hold_score < 100 ) { | |
$new_status = 'wc-on-hold'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment