public static function get_by_id($post_id) { $license_key = new foolic_licensekey(); $license_key->load_by_id($post_id); return $license_key; }