示例#1
0
 /**
  * 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();
 }
示例#2
0
 /**
  * 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';
 }
示例#3
0
 /**
  * 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();
 }