It would be very useful if there’s an action hook [updraft_finished_migration], which is called after the migration process is finished. In this way, some must-do configurations on sites can be executed automatically, by hooking customized code to [updraft_finished_migration], to reflect changes from the source site to the destination site, during migration.
Action hook updraft_finished_migration
1 Comment
Submit a Comment
You must be logged in to post a comment.
Hi,
This is already there, via the `updraftplus_restore_completed` hook (that it is a migration can be inferred by examining the job data using the relevant `UpdraftPlus::*jobdata` methods).
David