WordPress at Your Fingertips
function is not described

Action_Scheduler\Migration

Controller::instance() public WC 1.0

Singleton factory.

{} It's a method of the class: Controller{}

No Hooks.

Return

null. Nothing.

Usage

$result = Controller::instance();

Code of Controller::instance() WC 6.1.1

public static function instance() {
	if ( ! isset( self::$instance ) ) {
		self::$instance = new static( new Scheduler() );
	}

	return self::$instance;
}