/** */ protected function init() { // run parent parent::init(); // set up handler add_shortcode($this->name, array($this, 'render_handler')); }
/** */ protected function init() { parent::init(); // user must be allowed to manage options $this->add_capabilities('manage_options'); }