A sample plugin created for a set of posts on my website: see the first post.

Installation

  • clone the repository in the WordPress installation plugin folder.
  • run composer update from the root of the rest-calculator plugin folder.
  • update the test suites configuration files to match your local set up

Usage

Activate the plugin and hit the only provided route at /wp-json/calc/add/<number>/<number> and behold the power of it.