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

WordPress Trac noreply at wordpress.org
Mon Apr 24 11:04:28 UTC 2017


#40547: Add a filter to get_the_post_thumbnail_url
-----------------------------+------------------------------
 Reporter:  ibenic           |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Thumbnails  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by ibenic):

 Hi @SergeyBiryukov, thank you for this suggestion.

 It did not occur to me to hook into metadata for making such
 modifications. I'll see to implement this approach and check if it all
 works well or breaks other functions which require the thumbnail_id.

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


More information about the wp-trac mailing list