Skip to content
sawfly edited this page Sep 13, 2019 · 3 revisions

This plugin provides a couple of routes that you can use for custom plugins management:

  1. /wp-json/plugin-installer/v1/install - install plugin from *.zip archive;
  2. /wp-json/plugin-installer/v1/activate - activate installed plugin;
  3. /wp-json/plugin-installer/v1/install-activate - 1 and 2 in one;
  4. /wp-json/plugin-installer/v1/deactivate - deactivate active plugun;
  5. /wp-json/plugin-installer/v1/uninstall - deactivate pugin and remove him from the filesystem;

Clone this wiki locally