[wp-trac] [WordPress Trac] #40547: Add a filter to get_the_post_thumbnail_url

WordPress Trac noreply at wordpress.org
Sun Nov 7 19:27:58 UTC 2021


#40547: Add a filter to get_the_post_thumbnail_url
--------------------------------------+-----------------------------
 Reporter:  ibenic                    |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.9
Component:  Post Thumbnails           |     Version:  4.8
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+-----------------------------
Changes (by antpb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52027" 52027]:
 {{{
 #!CommitTicketReference repository="" revision="52027"
 Media: Add filter for post thumbnail url.

 Introduces new filter `post_thumbnail_url` which allows overriding the
 default url returned from `wp_get_attachement_image_url()`.

 Props ibenic, SergeyBiryukov, jackreichert, audrasjb.
 Fixes #40547.
 }}}

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


More information about the wp-trac mailing list