action_scheduler_initialize_4_dot_0_dot_0()
Initializes this version of Action Scheduler.
No Hooks.
Returns
null. Nothing (null).
Usage
action_scheduler_initialize_4_dot_0_dot_0() // WRCS: DEFINED_VERSION.;
action_scheduler_initialize_4_dot_0_dot_0() action scheduler initialize 4 dot 0 dot 0 code WC 11.0.0
function action_scheduler_initialize_4_dot_0_dot_0() { // 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__ );
}
}