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

Add REST API integration to set of defaults? #18

Open
jmichaelward opened this issue Apr 13, 2017 · 0 comments
Open

Add REST API integration to set of defaults? #18

jmichaelward opened this issue Apr 13, 2017 · 0 comments

Comments

@jmichaelward
Copy link

Glancing at the main plugin class, I see we have a set of sensible defaults for creating a new post type, but nothing for WP REST API settings (e.g., "show_in_rest"). Surely, this can be overridden via the arg_overrides parameter, but I'm wondering if it makes sense to be explicit here to indicate that CPTs can support the REST API. If that's the case, does it make sense to turn on REST API support by default?

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