Claudio Sanches
|
e9f2e75d53
|
Fixed coding standards and file header
|
2017-02-11 12:51:13 -02:00 |
Claudio Sanches
|
4352484ed7
|
REST API v2
|
2017-02-09 15:06:13 -02:00 |
Justin Shreve
|
49676d1781
|
Hook up email settings to the API
Add support for option_key when registering settings, so we can also manage settings that are stored in the array of a single option.
|
2016-09-08 15:20:15 -07:00 |
Justin Shreve
|
1d4615aee3
|
Fix setting class case. REST should be uppercase.
|
2016-07-26 14:33:55 -07:00 |
Justin Shreve
|
226fdb870b
|
Misc cleanup of descriptions and some error strings.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
8ff799562b
|
Remove WC_REST_Settings_Controller dependency on WC_REST_Settings_API_Controller.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
2fcb15d9cf
|
Rename WC_Rest_Settings_Groups_Controller to WC_Rest_Settings_Controller.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
f168f356bc
|
Rename WC_Rest_Settings_Controller to WC_Rest_Settings_Options_Controller.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
cca2a0ff5e
|
Reuse WC Admin Setting’s save_fields() instead of duplicating code for sanitizing saved values.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
f3e21123d1
|
Use WC Admin Settings’s get_option() in REST Settings controller instead of duplicating code.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
24014a5d04
|
Move bulk settings updating to the Settings controller, following existing batch endpoint patterns.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
7c119ac268
|
Add _links to /settings/<group> and /settings/<group>/<setting> responses.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
b2c628f0d8
|
Move settings group endpoint to Settings controller and only return settings-schema’d items.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
519be1c519
|
Add Settings controller getter method for all group settings.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
b69c9814af
|
Match parent signature of prepare_item_for_response(), add getter method for settings.
|
2016-07-26 10:24:15 -07:00 |
Claudio Sanches
|
7b78a6d9a7
|
Small tweaks to make it follow the REST API standards
|
2016-07-26 10:24:15 -07:00 |