Example #1
0
 function __construct($id, $settings)
 {
     parent::__construct($id, $settings);
     $this->set_attributes();
     $markup = $this->create_markup();
     if (get_option('rwp_debug_mode', 'off') == 'on') {
         $markup = $this->prepend_debug_information($markup);
     }
     $this->markup = $markup;
 }
Example #2
0
 public function __construct($id, $settings)
 {
     parent::__construct($id, $settings);
     $this->set_attributes();
     if (has_filter('rwp_edit_attributes')) {
         $this->settings['attributes'] = apply_filters('rwp_edit_attributes', $this->settings['attributes']);
     }
     $markup = $this->create_markup();
     if (get_option('rwp_debug_mode', 'off') == 'on') {
         $markup = $this->prepend_debug_information($markup);
     }
     $this->markup = $markup;
 }
Example #3
0
 public function __construct($id, $settings)
 {
     parent::__construct($id, $settings);
     $this->style = $this->build_css($settings['selector']);
 }