Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include 'supports' when getting an individual post type #232

Closed
danielbachhuber opened this issue Feb 5, 2019 · 0 comments
Closed

Include 'supports' when getting an individual post type #232

danielbachhuber opened this issue Feb 5, 2019 · 0 comments

Comments

@danielbachhuber
Copy link
Member

danielbachhuber commented Feb 5, 2019

When inspecting a post type, it can be helpful to know which features it supports.

get_all_post_type_supports() provides this information for us. It would be helpful if 'supports' was a field available to wp post-type get.

@danielbachhuber danielbachhuber changed the title Include 'supports' when listing post types or getting an individual post type Include 'supports' when getting an individual post type Feb 5, 2019
@danielbachhuber danielbachhuber added this to the 2.0.3 milestone Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant