wpmdb_before_finalize_migration

wpmdb_before_finalize_migration

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_before_finalize_migration') is found 1 times:

  • /class/Common/Migration/FinalizeMigration.php line 174
            $temp_prefix                        = isset($state_data['temp_prefix']) ? $state_data['temp_prefix'] : $this->props->temp_prefix;
            $temp_tables                        = array();
            $type                               = $state_data['intent'];
            $alter_table_name                   = $this->table->get_alter_table_name();
            $before_finalize_response = apply_filters('wpmdb_before_finalize_migration', true, $this);
    
            if (is_wp_error($before_finalize_response)) {
                return $this->http->end_ajax($before_finalize_response);
            }
    
            if (isset($state_data['type']) && 'push' === $state_data['type']) {
    

See this hook used in plugins: