Action_Scheduler\WP_CLI

System_Command::get_current_runnerprotectedWC 1.0

Get current runner.

Method of the class: System_Command{}

No Hooks.

Returns

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_current_runner();

System_Command::get_current_runner() code WC 10.9.4

protected function get_current_runner() {
	return get_class( \ActionScheduler::runner() );
}