[wp-trac] [WordPress Trac] #34010: Add Ability to Fetch Post Types by Supports
WordPress Trac
noreply at wordpress.org
Thu Dec 24 18:05:51 UTC 2015
#34010: Add Ability to Fetch Post Types by Supports
-------------------------------------+-------------------------------------
Reporter: wpsmith | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.5
Component: Posts, Post Types | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch has-unit- | Focuses: administration,
tests | template
-------------------------------------+-------------------------------------
Comment (by swissspidy):
Replying to [comment:5 barryceelen]:
> :)
> While we're at it might as well also add the `$operator` parameter like
`get_post_types()` does (One of the patches by @wpsmith had it but the
server is unreachable at the time).
Why don't we just allow passing a 'supports' filter to get_post_types()?
Makes more sense IMHO.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34010#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list