Created
June 13, 2022 19:22
-
-
Save Arifursdev/93e7032ed9a81b5acdbb2b7a1b01759e to your computer and use it in GitHub Desktop.
Disable WordPress Import Duplicate Checking
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 | |
add_filter( 'wp_import_existing_post', function ( $post_exists ) { | |
$post_exists = false; | |
return $post_exists; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment