This plugin extends the WordPress Rest API and adds a powerful IDE built with CodeMirror to allow developers to quickly run PHP and SQL commands in realtime.
- Install and enable this plugin
- Keep the plugin up-to-date for important security updates.
- Check our CHANGELOG for notifications of major updates.
- Requires WordPress 6.4 or greater.
- Requires PHP 8.1 or greater
/wp-json/caweb/v1/sync
- Allows for updating taxonomy ID's.
Request Parameters:
- id - Current ID to be updated.
- newId - New ID to replace current.
- tax - Taxonomy to be upated. Available taxonomies include pages, posts, media, menus.
- locations - Only if tax is menus, allows assigning a menu to a registered location.
Requst Example:
{ method: 'POST', url: 'http://example.com/wp-json/caweb/v1/sync', headers: { 'Authorization': Authentication Method, 'content-type': 'multipart/form-data', 'accept': '*/*', }, data: { id: 1, newId: 10, tax: 'pages', // Allowed taxonomies include locations: ['header-menu'], // This parameter is only used for menus and }, }