wpmdb_cli_finalize_migration

wpmdb_cli_finalize_migration

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

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

apply_filters('wpmdb_cli_finalize_migration') is found 1 times:

  • /class/Common/Cli/Cli.php line 619
            if (!$this->is_non_database_migration($this->profile)) {
                \WP_CLI::log(__('Cleaning up...', 'wp-migrate-db-cli'));
            }
    
    		$finalize = apply_filters('wpmdb_cli_finalize_migration', true, $this->profile, $this->migration);
    		if (is_wp_error($finalize)) {
    			return $finalize;
    		}
    
    		$this->post_data = apply_filters('wpmdb_cli_finalize_migration_args', $this->post_data, $this->profile, $this->migration);