Skip to content

kjbenk/wp-rest-api-hello-world

Repository files navigation

WP REST API Hello World

Build Status

A Hello World example for the WordPress REST API. Install this plugin and go the the /wp-json/wprahw/hello-world endpoint on your site and you will see an Hello World JSON Response.

Unit Testing

You can perform PHPUnit tests on this plugin by simply going to the plugin directory and typing in these commands:

  1. phpunit
  2. phpunit -c multisite.xml

PHP Validation

You can run a WordPress PHP code standards validator script by performing these commands:

  1. npm install
  2. composer install
  3. grunt phpcs

About

A Hello World example for the WordPress REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published