[wp-trac] [WordPress Trac] #40547: Add a filter to get_the_post_thumbnail_url
WordPress Trac
noreply at wordpress.org
Fri Jul 28 18:31:50 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: 4.8
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by jackreichert):
@SergeyBiryukov Since the get_{$meta_type}_metadata filter happens before
wp_cache_get() in get_metadata you can't actually filter the data that
exists, only return an alterative. Personally if I had a choice I'd opt
for the filter in #23983, but why not both?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40547#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list