[wp-trac] [WordPress Trac] #28461: Add a fallback parameter to get_the_post_thumbnail() to find images

WordPress Trac noreply at wordpress.org
Mon Feb 6 12:42:46 UTC 2017


#28461: Add a fallback parameter to get_the_post_thumbnail() to find images
-----------------------------+------------------------------
 Reporter:  krogsgard        |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Thumbnails  |     Version:  3.9
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  template
-----------------------------+------------------------------

Comment (by swissspidy):

 `get_post_thumbnail_id` can already be filtered via the post meta filter,
 targeting `_thumbnail_id`.

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


More information about the wp-trac mailing list