[wp-hackers] Get supported post types for a given feature

Andrew Nacin wp at andrewnacin.com
Thu Sep 30 22:37:38 UTC 2010


On Thu, Sep 30, 2010 at 6:03 PM, Simon Blackbourn <piemanek at gmail.com>wrote:

> get_post_types( array( 'supports' => 'your-super-feature' ) );
>
> (haven't tested it, but according to the codex page it looks like it should
> work)


I don't think that should work, but it'd be cool if it did. Mo Jangda has it
right.


More information about the wp-hackers mailing list