[wp-trac] [WordPress Trac] #27399: Filter the HTML output of wp_get_attachment_image

WordPress Trac noreply at wordpress.org
Wed Feb 11 15:50:07 UTC 2015


#27399: Filter the HTML output of wp_get_attachment_image
-------------------------+------------------------------
 Reporter:  fgirardey    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  3.8.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by asadowski10):

 Hi @fgirardey, @tomauger,

 This patch is very interesting.
 It would be very useful on my projects.

 In my case, when I try to recover from a media ID but that it is no longer
 I'd like to display a default image instead.

 In the present state of things, I can do this.
 Thanks

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27399#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list