WordPress at Your Fingertips
function is not described

action_scheduler_initialize_3_dot_4_dot_0() WC 1.0

Initializes this version of Action Scheduler.

No Hooks.

Return

null. Nothing.

Usage

action_scheduler_initialize_3_dot_4_dot_0();

Code of action_scheduler_initialize_3_dot_4_dot_0() WC 6.1.1

function action_scheduler_initialize_3_dot_4_dot_0() {
	// 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__ );
	}
}