action_scheduler_initialize_3_dot_5_dot_4()WC 1.0

Initializes this version of Action Scheduler.

Хуков нет.


null. Ничего.


action_scheduler_initialize_3_dot_5_dot_4() // WRCS: DEFINED_VERSION.;

Код action_scheduler_initialize_3_dot_5_dot_4() WC 7.7.2

function action_scheduler_initialize_3_dot_5_dot_4() { // WRCS: DEFINED_VERSION.
	// A final safety check is required even here, because historic versions of Action Scheduler
	// followed a different pattern (in some unusual cases, we could reach this point and the
	// ActionScheduler class is already defined—so we need to guard against that).
	if ( ! class_exists( 'ActionScheduler', false ) ) {
		require_once __DIR__ . '/classes/abstracts/ActionScheduler.php';
		ActionScheduler::init( __FILE__ );