Пример #1
0
 /**
  * Initializes the Admin controller
  *
  * @since 1.0
  *
  * @return boolean True if the admin controller is established, false otherwise
  **/
 public function admin()
 {
     if (!defined('WP_ADMIN')) {
         return false;
     }
     if ($this->handler()) {
         $this->Controller->admin();
         return true;
     }
     return false;
 }