POST | PUT | PATCH /wp-json/clanbite/v1/admin/settings/(?P<option_key>[a-z0-9_]+)POST PUT PATCH
REST: validate and save one settings bucket, returning the stored values.
Access is checked by can_manage().
| Argument | Type | Default | Description |
|---|---|---|---|
option_key required | string |
Handled by rest_save_settings()
Example
curl -X POST 'https://example.com/wp-json/clanbite/v1/admin/settings/(?P<option_key>[a-z0-9_]+)'Defined in inc/admin/class-admin-rest.php
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Updated. |