Status::set_status( string $status )

Summary

Add a status to the log for the current import. The status will be appended to the log, even if it is the same as the current status.


Parameters

$status

(string) (Required)


Return

(void)


Source

File: src/BigCommerce/Import/Runner/Status.php

		$log = $this->current_log();

		// cast timestamp to string to preserve microtime
		$log[ (string) microtime( true ) ] = $status;
		$this->update_option( self::CURRENT_LOG, $log, false );
		do_action( 'bigcommerce/import/set_status', $status );
	}


User Contributed Notes

You must log in before being able to contribute a note or feedback.