WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

ActionScheduler_DataController::init() public WC 1.0

Connect to table datastores if migration is complete. Otherwise, proceed with the migration if the dependencies have been met.

{} Это метод класса: ActionScheduler_DataController{}

Хуков нет.

Возвращает

null. Ничего.

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

$result = ActionScheduler_DataController::init();

Код ActionScheduler_DataController::init() WC 5.8.0

public static function init() {
	if ( self::is_migration_complete() ) {
		add_filter( 'action_scheduler_store_class', array( 'ActionScheduler_DataController', 'set_store_class' ), 100 );
		add_filter( 'action_scheduler_logger_class', array( 'ActionScheduler_DataController', 'set_logger_class' ), 100 );
		add_action( 'deactivate_plugin', array( 'ActionScheduler_DataController', 'mark_migration_incomplete' ) );
	} elseif ( self::dependencies_met() ) {
		Controller::init();
	}

	add_action( 'action_scheduler/progress_tick', array( 'ActionScheduler_DataController', 'maybe_free_memory' ) );
}