/** */ protected function init() { // run parent parent::init(); // init directives $this->title = __('Site Title'); }
/** */ protected function init() { // run parent parent::init(); // init directives $this->title = __('Tagline'); $this->description = __('In a few words, explain what this site is about.'); }
/** */ protected function init() { // is the plugin active? if ($this->plugin_active()) { // yes, ok to init parent::init(); // init directives $this->title = __('Custom Domain', infinity_text_domain); $this->description = __('Enter the custom domain name you wish to map to your site.', infinity_text_domain); } else { // not active throw new Exception('The domain mapping plugin has not been enabled'); } }
/** */ public function init_scripts() { parent::init_scripts(); // slurp admin script $this->script()->section('admin')->cache('wrapper', 'wrapper.js')->add_dep('ice-colorpicker'); }