mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 13:43:38 +09:00
- class admin optimization;
This commit is contained in:
@@ -437,7 +437,6 @@ if ( ! class_exists( 'UM' ) ) {
|
||||
$this->admin_settings();
|
||||
$this->columns();
|
||||
$this->admin_enqueue();
|
||||
$this->functions();
|
||||
$this->metabox();
|
||||
$this->notices();
|
||||
$this->users();
|
||||
@@ -612,19 +611,6 @@ if ( ! class_exists( 'UM' ) ) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @since 2.0
|
||||
*
|
||||
* @return um\admin\core\Admin_Functions()
|
||||
*/
|
||||
function functions() {
|
||||
if ( empty( $this->classes['admin_functions'] ) ) {
|
||||
$this->classes['admin_functions'] = new um\admin\core\Admin_Functions();
|
||||
}
|
||||
return $this->classes['admin_functions'];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @since 2.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user