Skip to content

v1.4.0: WP Options Module

Choose a tag to compare

@shutupandshave shutupandshave released this 27 Feb 00:39
· 3 commits to main since this release

New: WP Options Module

REST API endpoints to read, update, and delete wp_options entries. Restricted to administrators (manage_options capability).

Endpoints

  • GET /wp-json/communitytech/v1/options?names=opt1,opt2 — Read options
  • POST /wp-json/communitytech/v1/options — Update options ({"options":{"key":"value"}})
  • DELETE /wp-json/communitytech/v1/options — Delete options ({"names":["opt1","opt2"]})