Automattic\WooCommerce\Internal\CLI\Migrator\Lib

ImportSession::set_original_argumentspublicWC 1.0

Save the original command arguments for session resumption.

Method of the class: ImportSession{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ImportSession = new ImportSession();
$ImportSession->set_original_arguments( $args );
$args(array) (required)
The original command arguments.

ImportSession::set_original_arguments() code WC 10.7.0

public function set_original_arguments( array $args ) {
	update_post_meta( $this->post_id, 'original_arguments', $args );
}