Register a Custom Read-Only REST Endpoint
Creates a public GET /wp-json/scseed/v1/site-info endpoint that returns the site name, URL, description, language, and timezone as JSON.
PHPProby SnipCraft
This is a Pro snippet
The full code for “Register a Custom Read-Only REST Endpoint” is part of the SnipCraft Pro library. Get every Pro snippet and module, and import them in one click.
Get SnipCraft ProQuestions about Pro? Contact us.
#endpoint#headless#json#rest-api