action_scheduler_initialize_3_dot_4_dot_0()WC 1.0

Initializes this version of Action Scheduler.

Хуков нет.


null. Ничего.



Код action_scheduler_initialize_3_dot_4_dot_0() WC 6.9.4

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__ );