Action_Scheduler\Migration

Controller::get_store_class()publicWC 1.0

Set the action store class name.

Метод класса: Controller{}

Хуков нет.

Возвращает

Строку.

Использование

$Controller = new Controller();
$Controller->get_store_class( $class );
$class(строка) (обязательный)
Classname of the store class.

Код Controller::get_store_class() WC 8.7.0

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';
	}
}