[wp-trac] [WordPress Trac] #23983: Add filter to get_post_thumbnail_id to override default thumbnail use
WordPress Trac
noreply at wordpress.org
Sun Nov 7 20:36:25 UTC 2021
#23983: Add filter to get_post_thumbnail_id to override default thumbnail use
--------------------------------------+-----------------------------
Reporter: Jesper800 | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.9
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev-note | Focuses:
--------------------------------------+-----------------------------
Changes (by antpb):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"52028" 52028]:
{{{
#!CommitTicketReference repository="" revision="52028"
Media: Add filter for post thumbnail id.
Introduces new filter `post_thumbnail_id` which allows overriding the
default id returned from `get_post_thumbnail_id()`.
Props engelen, alexvorn2, gilbitron, sebastianpisula, SergeyBiryukov,
leogermani, rzen, joemcgill, audrasjb.
Fixes #23983.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23983#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list