* reviewed and updated docs;

This commit is contained in:
Mykyta Synelnikov
2024-11-06 17:13:38 +02:00
parent c28135f212
commit 34ee3d5ebc
5 changed files with 71 additions and 47 deletions
+3 -1
View File
@@ -31,13 +31,15 @@ if ( ! class_exists( 'um\common\Init' ) ) {
}
/**
* @since 2.6.8
* Init actions that can be scheduled via Action Scheduler.
*
* @since 2.9.0
*/
private function actions() {
if ( empty( UM()->classes['um\common\actions\emails'] ) ) {
UM()->classes['um\common\actions\emails'] = new actions\Emails();
}
// Other classes init here as soon as possible.
}
/**