WordPress plugin changed to JSON REST API (WP API)