[wp-trac] [WordPress Trac] #34093: New filter: `get_calendar_post_type` in get_calendar()
WordPress Trac
noreply at wordpress.org
Mon Mar 3 19:54:51 UTC 2025
#34093: New filter: `get_calendar_post_type` in get_calendar()
--------------------------------------+-----------------------
Reporter: sebastian.pisula | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.8
Component: Widgets | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------
Changes (by audrasjb):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"59908" 59908]:
{{{
#!CommitTicketReference repository="" revision="59908"
Widgets: Add post type support to `get_calendar()` function.
This changeset updates the `get_calendar()` function to allow post type
filtering via the `$post_type` parameter, with backard compatibility for
previous params. It also updates the related `get_calendar_args` and
`get_calendar` hooks accordingly.
Props sebastianpisula, swissspidy, dwainm, moxie, sukhendu2002, audrasjb,
mukesh27.
Fixes #34093.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34093#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list