Action_Scheduler\Migration

Config::set_dry_runpublicWC 1.0

Set flag indicating whether it's a dry run.

Method of the class: Config{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Config = new Config();
$Config->set_dry_run( $dry_run );
$dry_run(true|false) (required)
Dry run toggle.

Config::set_dry_run() code WC 10.6.2

public function set_dry_run( $dry_run ) {
	$this->dry_run = (bool) $dry_run;
}