WordPress at Your Fingertips
function is not described

Action_Scheduler\Migration

Controller::get_store_class() public WC 1.0

Set the action store class name.

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

No Hooks.

Return

String.

Usage

$Controller = new Controller();
$Controller->get_store_class( $class );
$class(string) (required)
Classname of the store class.

Code of Controller::get_store_class() WC 6.1.1

public function get_store_class( $class ) {
	if ( \ActionScheduler_DataController::is_migration_complete() ) {
		return \ActionScheduler_DataController::DATASTORE_CLASS;
	} elseif ( \ActionScheduler_Store::DEFAULT_CLASS !== $class ) {
		$this->store_classname = $class;
		return $class;
	} else {
		return 'ActionScheduler_HybridStore';
	}
}