mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- changed dependencies before release;
This commit is contained in:
@@ -432,5 +432,18 @@ if ( ! class_exists( 'um\admin\Admin' ) ) {
|
||||
}
|
||||
return $parent_file;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @since 2.0
|
||||
*
|
||||
* @return core\Admin_Notices()
|
||||
*/
|
||||
function notices() {
|
||||
if ( empty( UM()->classes['admin_notices'] ) ) {
|
||||
UM()->classes['admin_notices'] = new core\Admin_Notices();
|
||||
}
|
||||
return UM()->classes['admin_notices'];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user