/**
  * __construct function.
  *
  * @access public
  * @since 1.0.0
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     // Required in extended classes.
     $this->token = 'subscribe-and-connect-integration';
     $this->name = __('Display', 'subscribe-and-connect');
     $this->_themes = Subscribe_And_Connect_Utils::get_icon_themes();
     if (is_admin()) {
         add_action('subscribe_and_connect_field_radio_after', array($this, 'display_supported_post_types'));
     }
 }
 /**
  * Get data for a specified theme.
  * @access  public
  * @since   1.0.0
  * @param   array $args  Arguments for the current theme.
  * @return  string       The slug of the theme, or 'default'.
  */
 public function get_theme_data($key)
 {
     $theme = array('name' => 'icons', 'stylesheet' => '');
     $available_themes = Subscribe_And_Connect_Utils::get_icon_themes();
     if (in_array($key, array_keys($available_themes))) {
         $theme = $available_themes[esc_attr($key)];
     }
     return $theme;
 }