REST Endpoint: Admin Site Statistics
Registers a GET /wp-json/scseed/v1/site-stats endpoint (admin-only) that returns published post counts per public post type, total users, and software versions.
PHPProby SnipCraft
This is a Pro snippet
The full code for “REST Endpoint: Admin Site Statistics” 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.
#admin#monitoring#rest-api#statistics