Commit Graph

11 Commits

Author SHA1 Message Date
Gerhard 970ae40004 Remove function and use global woocommerce_timezone_string function instead 2013-11-20 16:16:04 +02:00
Gerhard 4afff14de1 Remove unused variable from function 2013-11-20 07:57:48 +02:00
Gerhard df5929093d REST API - Fix fatal error due to missing get_timezone function 2013-11-20 07:55:28 +02:00
Max Rice 001ce0fc3e Add option to enable/disable API
Part of #4055
2013-11-19 03:01:46 -05:00
Max Rice 490dc758a9 Update pagination args/headers
Part of #4055
2013-11-18 21:06:45 -05:00
Max Rice 87ff36db12 Properly handle datetimes
Part of #4055
2013-11-18 16:47:38 -05:00
Max Rice 5ab8e085ad Update /coupons/code endpoint
Part of #4055
2013-11-14 13:56:05 -05:00
Max Rice ec55e43c24 Update API index response
Part of #4055
2013-11-14 13:55:45 -05:00
Max Rice 00c65b9cc3 Add site timezone to API index 2013-11-10 19:30:59 -05:00
Max Rice 9c7791e3d8 urldecode parameters before passing to resource methods 2013-11-10 18:29:37 -05:00
Max Rice ed6de29bfc Add new WC_API_Server class
Based on WP_JSON_Server, this class add response handling based on
endpoint suffixes (.json or .xml) or the ACCEPT header. It also removes
some unneeded functionality and renames filters so as to not conflict
with users who may have WP-API installed already. Finally, instead of
no authentication required by default, authentication is always
required unless specifically disabled via filters.
2013-11-06 01:53:07 -05:00