{"id":6640382,"date":"2015-10-12T17:43:38","date_gmt":"2015-10-12T17:43:38","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/add-class-parametar-od-attachment-link\/"},"modified":"2016-08-30T19:02:36","modified_gmt":"2016-08-30T19:02:36","slug":"add-class-parametar-od-attachment-link","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/add-class-parametar-od-attachment-link\/","title":{"rendered":"Add class parameter in attachment link"},"content":{"rendered":"<p>It would be nice to have a possibility to have a parameter for class when using <code>wp_get_attachment_link<\/code><br \/>\nhttps:\/\/codex.wordpress.org\/Function_Reference\/wp_get_attachment_link<\/p>\n<p>Currently it adds default class name &#8211; <code>attachment-thumbnail<\/code><\/p>\n","protected":false},"template":"","class_list":["post-6640382","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6640382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6640382\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6640382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}