public function __construct() { parent::__construct(); $this->settings = new Tiny_Settings(); if (is_admin()) { add_action('admin_menu', $this->get_method('admin_menu')); } }
public function __construct() { parent::__construct(); $this->settings = new Tiny_Settings(); try { $this->compressor = Tiny_Compress::get_compressor($this->settings->get_api_key()); } catch (Tiny_Exception $e) { $this->add_admin_notice(self::translate_escape($e->getMessage())); } }
public function __construct() { parent::__construct(); $this->settings = new Tiny_Settings(); }
public function __construct() { parent::__construct(); $this->notices = new Tiny_Notices(); }