Skip to content

Instantly share code, notes, and snippets.

Stephen ssuess

Block or report user

Report or block ssuess

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ssuess
ssuess / wordpress-import-update.php
Last active Dec 9, 2019 — forked from balbuf/wordpress-import-update.php
Force the WordPress importer to update existing posts instead of skipping them
View wordpress-import-update.php
<?php
/**
* When using the WordPress Importer, update existing
* posts instead of skipping them. Updates content according
* to the import file even if the existing post was updated
* more recently.
*
* To use, drop this file into your /mu-plugins/ folder or
* copy this code into your functions.php file.
You can’t perform that action at this time.