Sorry, just got to this and did another import and it is still is not importing what it is thinking is duplicate donations.
I have a theme that has a main theme and a child theme. I added the code to the functions.php of the child theme.
This is what the code looks like for that file. Maybe I didn’t add it correctly?
<?php
// enqueue the child theme stylesheet
Function qode_child_theme_enqueue_scripts() {
wp_register_style( 'childstyle', get_stylesheet_directory_uri() . '/style.css' );
wp_enqueue_style( 'childstyle' );
}
add_action( 'wp_enqueue_scripts', 'qode_child_theme_enqueue_scripts', 11);
/**
* 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' );
?>