wpmdb_migration_complete

wpmdb_migration_complete

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

do_action('wpmdb_migration_complete') is found 3 times:

  • /class/Common/Filesystem/Filesystem.php line 778
        function download_file()
        {
            $is_full_site_export = !empty($_GET['fullSiteExport']);
            if ($is_full_site_export) {
                do_action('wpmdb_migration_complete');
            }
    
            $util         = $this->container->get(Util::class);
            $table_helper = $this->container->get(TableHelper::class);
    
            // don't need to check for user permissions as our 'add_management_page' already takes care of this
    
  • /class/Common/Migration/FinalizeMigration.php line 123
     
            do_action('wpmdb_finalize_migration', $state_data); // Fires on local site
    
            if ('push' === $state_data['intent']) {
                do_action('wpmdb_migration_complete', 'push', $state_data['url']);
                $data                 = $this->http_helper->filter_post_elements(
                    $state_data,
                    array(
                        'url',
                        'form_data',
                        'site_details',
    
  • /class/Common/Migration/FinalizeMigration.php line 256
                    );
                }
            }
    
            do_action('wpmdb_migration_complete', $type, $location);
    
            return true;
        }
    
        /**
         * Convert string of table names to array, changes prefix if needed.
    

See this hook used in plugins: