public function __construct()
 {
     parent::__construct();
     // Get the settings for the number counter widgets
     $this->fields = apply_filters('pw/number_counter_widget', array('icon' => false));
     // A list of icons to choose from in the widget backend
     $this->font_awesome_icons_list = apply_filters('pw/number_counter_fa_icons_list', array('fa-building-o', 'fa-users', 'fa-globe', 'fa-suitcase', 'fa-car', 'fa-road', 'fa-home', 'fa-phone', 'fa-clock-o', 'fa-money', 'fa-cog', 'fa-archive', 'fa-compass', 'fa-comments-o', 'fa-dashboard', 'fa-exclamation-circle', 'fa-female', 'fa-male', 'fa-heart'));
 }
 public function __construct()
 {
     parent::__construct();
     // Allowed HTML in content field
     $this->allowed_html_in_content_field = apply_filters('pw/allowed_html_in_content_field', array('strong' => array(), 'b' => array(), 'a' => array('href' => array(), 'class' => array())));
     // A list of icons to choose from in the widget backend
     $this->font_awesome_icons_list = apply_filters('pw/steps_fa_icons_list', array('fa-mobile', 'fa-envelope', 'fa-wrench', 'fa-reply', 'fa-laptop', 'fa-gamepad', 'fa-television', 'fa-music', 'fa-battery-full', 'fa-ellipsis-v', 'fa-apple', 'fa-linux', 'fa-windows', 'fa-android', 'fa-cogs', 'fa-plug', 'fa-volume-up'));
 }
 /**
  * Register widget with WordPress.
  */
 public function __construct()
 {
     parent::__construct();
     // Set the right order of the days
     $start_of_week = get_option('start_of_week ');
     // integer [0,6], 0 = Sunday, 1 = Monday ...
     $this->days = array('Sun' => __('Sunday', 'proteusthemes'), 'Mon' => __('Monday', 'proteusthemes'), 'Tue' => __('Tuesday', 'proteusthemes'), 'Wed' => __('Wednesday', 'proteusthemes'), 'Thu' => __('Thursday', 'proteusthemes'), 'Fri' => __('Friday', 'proteusthemes'), 'Sat' => __('Saturday', 'proteusthemes'));
     $this->rotate_days($start_of_week);
 }
 /**
  * Register widget with WordPress.
  */
 public function __construct()
 {
     parent::__construct();
     // Get the settings for the testimonial widgets
     $this->fields = apply_filters('pw/testimonial_widget', array('rating' => true, 'author_description' => false, 'number_of_testimonial_per_slide' => 2));
     // Set the max number of testimonials per slide to 2
     if ($this->fields['number_of_testimonial_per_slide'] > 2) {
         $this->fields['number_of_testimonial_per_slide'] = 2;
     }
 }
 /**
  * Register widget with WordPress.
  */
 public function __construct()
 {
     parent::__construct();
 }
 /**
  * Register widget with WordPress.
  */
 public function __construct()
 {
     parent::__construct();
     // Color picker needed
     add_action('admin_enqueue_scripts', array($this, 'add_color_picker'));
 }
 /**
  * Register widget with WordPress.
  */
 public function __construct()
 {
     parent::__construct();
     // A list of icons to choose from in the widget backend
     $this->font_awesome_icons_list = apply_filters('pw/social_icons_fa_icons_list', array('fa-facebook', 'fa-twitter', 'fa-youtube', 'fa-skype', 'fa-google-plus', 'fa-pinterest', 'fa-instagram', 'fa-vine', 'fa-tumblr', 'fa-foursquare', 'fa-xing', 'fa-flickr', 'fa-vimeo', 'fa-linkedin', 'fa-dribble', 'fa-wordpress', 'fa-rss', 'fa-github', 'fa-bitbucket'));
 }
 /**
  * Register widget with WordPress.
  */
 public function __construct()
 {
     parent::__construct();
     // Add other google map skins through this fiter
     $this->map_styles = apply_filters('pw/google_map_skins', $this->map_styles);
 }