- class admin optimization;

This commit is contained in:
nikitozzzzzzz
2018-04-03 15:04:14 +03:00
parent 90ac16d910
commit 27f2021d6b
4 changed files with 140 additions and 153 deletions
-14
View File
@@ -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
*