/**
  * Add fields to option page
  * @since  5.0
  * @return $plugin_options
  */
 public static function option_fields()
 {
     // Only need to initiate the array once per page-load
     if (!empty(self::$plugin_options)) {
         return self::$plugin_options;
     }
     self::$plugin_options = array('id' => self::$key, 'show_on' => array('key' => 'options-page', 'value' => array(self::$key)), 'show_names' => true, 'fields' => array(array('name' => __('Creator (twitter username)', JM_TC_TEXTDOMAIN), 'desc' => __('Who is the creator of content?', JM_TC_TEXTDOMAIN), 'id' => 'twitterCreator', 'type' => 'text_medium'), array('name' => __('Site (twitter username)', JM_TC_TEXTDOMAIN), 'desc' => __('Who is the Owner of the Website? (could be a trademark)', 'jm-tc'), 'id' => 'twitterSite', 'type' => 'text_medium'), array('name' => __('Card Types', JM_TC_TEXTDOMAIN), 'desc' => __('Choose what type of card you want to use', JM_TC_TEXTDOMAIN), 'id' => 'twitterCardType', 'type' => 'select', 'options' => array('summary' => __('Summary', JM_TC_TEXTDOMAIN), 'summary_large_image' => __('Summary below Large Image', JM_TC_TEXTDOMAIN), 'photo' => __('Photo', JM_TC_TEXTDOMAIN), 'app' => __('Application', JM_TC_TEXTDOMAIN))), array('name' => __('Open Graph', JM_TC_TEXTDOMAIN), 'desc' => __('Open Graph/SEO', JM_TC_TEXTDOMAIN), 'id' => 'twitterCardOg', 'type' => 'select', 'options' => array('no' => __('no', JM_TC_TEXTDOMAIN), 'yes' => __('yes', JM_TC_TEXTDOMAIN))), array('name' => __('Excerpt'), 'desc' => __('Excerpt as meta desc?', JM_TC_TEXTDOMAIN), 'id' => 'twitterCardExcerpt', 'type' => 'select', 'options' => array('no' => __('no', JM_TC_TEXTDOMAIN), 'yes' => __('yes', JM_TC_TEXTDOMAIN)))));
     return self::$plugin_options;
 }