public function column_support($item)
 {
     if (ss_is_date_expired($item['supported_until'])) {
         return '<strong style="color:red;">Expired in </strong>' . $item['supported_until'];
     } else {
         return '<strong style="color:green;">Suppor until </strong>' . $item['supported_until'];
     }
     return $item['supported_until'];
 }
 public function is_active_support()
 {
     global $wpdb;
     // Is active support for item by ID
     $result = false;
     $purchases = $this->load_purchases();
     if (!empty($purchases)) {
         foreach ($purchases as $code) {
             if ($result) {
                 continue;
             }
             if (!ss_is_date_expired($code->supported_until)) {
                 $result = true;
             }
         }
     }
     return $result;
 }