Skip to content
This repository was archived by the owner on May 18, 2025. It is now read-only.

Added REST API support#128

Open
rikard-io wants to merge 2 commits intowoocommerce:masterfrom
rikard-io:master
Open

Added REST API support#128
rikard-io wants to merge 2 commits intowoocommerce:masterfrom
rikard-io:master

Conversation

@rikard-io
Copy link

Not sure if it's useful in general but needed to access projects through the JSON API and gridsome. This requires the type to be explicitly set to show in the API. Not sure about backward compatibility.

Perhaps this should be made into an option in settings?

https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-rest-api-support-for-custom-content-types/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant