Developer API - Hooks & actions
Important: These hooks currently does not work, except when only doing database migrations and MU plugin must be disabled. These hooks are therefore subject to change in one of the coming versions.
Here is a list of integration points into WP Synchro:
Action: wpsynchro_migration_completed
This action is run when WP Synchro completes with success.
Example:
add_action("wpsynchro_migration_completed", function() {
error_log("sync completed");
});
Action: wpsynchro_migration_failure
This action is run when WP Synchro fails during a migration.
Example:
add_action("wpsynchro_migration_failure", function() {
error_log("sync failed");
});
Still using free version? - Upgrade to PRO with 14 day free trial
PRO version makes it possible for you to migrate files between your sites and to
automatically make a database backup before migration.
You will get support for Basic Authentication and email notifications on success or failure. You also get access to priority support