mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Added Action Scheduler
This commit is contained in:
@@ -25,7 +25,6 @@ if ( ! class_exists( 'um\common\Init' ) ) {
|
||||
$this->secure()->hooks();
|
||||
$this->site_health();
|
||||
$this->theme()->hooks();
|
||||
$this->action_scheduler();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -87,17 +86,5 @@ if ( ! class_exists( 'um\common\Init' ) ) {
|
||||
}
|
||||
return UM()->classes['um\common\theme'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.6.8
|
||||
*
|
||||
* @return Action_Scheduler
|
||||
*/
|
||||
public function action_scheduler() {
|
||||
if ( empty( UM()->classes['um\common\action_scheduler'] ) ) {
|
||||
UM()->classes['um\common\action_scheduler'] = new Action_Scheduler();
|
||||
}
|
||||
return UM()->classes['um\common\action_scheduler'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user