/** * Initializes the Component. * * @since 1.0.0 */ public function __construct() { $this->name = 'QuestionsAdmin'; $this->title = esc_attr__('Admin', 'questions-locale'); $this->description = esc_attr__('Setting up Questions in WordPress Admin.', 'questions-locale'); $this->required = TRUE; $this->capability = 'edit_posts'; parent::__construct(); }
/** * Initializes the Component. * @since 1.0.0 */ function __construct() { parent::__construct(); $this->name = 'QuestionsCharts'; $this->title = __('Charts', 'questions-locale'); $this->description = __('Showing Charts in Questions.', 'questions-locale'); $this->required = TRUE; $this->capability = 'edit_posts'; }
/** * Initializes the Component. * @since 1.0.0 */ public function __construct() { $this->name = 'QuestionsElements'; $this->title = esc_attr__('Elements', 'questions-locale'); $this->description = esc_attr__('Base Elements to put into surveys', 'questions-locale'); $this->turn_off = FALSE; $this->slug = 'surveyelements'; parent::__construct(); }