You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@rmccue +1'd my proposed pairing of wp.posts().types( 'some_cpt' ) and wp.myType = wp.registerType( 'my_cpt' ) as our custom post type methods of choice. This issue will be closed out by #52.
Before this is released, we need to have support for custom post types.
Alternative syntaxes under consideration:
Generic types handled by a single
types
endpoint handler:Create custom endpoint handlers with a
registerType
utility method (see #7):In either case, the type method would wrap
.posts()
but would set properties to specify a type query parameter to filter results.@carldanley, I'm particularly interested in your opinion here since you're familiar with the WP internals
The text was updated successfully, but these errors were encountered: