Action_Scheduler\Migration
Controller::get_store_class()
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() 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'; } }