Created
August 17, 2018 03:30
-
-
Save raftaar1191/8e25d93486ff62c2f1830a5d6fbeb935 to your computer and use it in GitHub Desktop.
Force Donation to get imported even if it an duplicate donation
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
<?php | |
/** | |
* Check if donation is duplicated or not before importing. | |
* | |
* @return bool | |
*/ | |
function give_check_import_donation_duplicate_callback( $value ) { | |
return false; | |
} | |
add_filter( 'give_check_import_donation_duplicate', 'give_check_import_donation_duplicate_callback' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment