parent
709f0da16f
commit
ec55e43c24
|
@ -426,11 +426,13 @@ class WC_API_Server {
|
|||
'URL' => get_option( 'siteurl' ),
|
||||
'routes' => array(),
|
||||
'meta' => array(
|
||||
'timezone' => $this->get_timezone(),
|
||||
'timezone' => $this->get_timezone(),
|
||||
'currency' => get_woocommerce_currency(),
|
||||
'money_format' => get_woocommerce_currency_symbol(),
|
||||
'tax_included' => ( 'yes' === get_option( 'woocommerce_prices_include_tax' ) ),
|
||||
'weight_unit' => get_option( 'woocommerce_weight_unit' ),
|
||||
'dimension_unit' => get_option( 'woocommerce_dimension_unit' ),
|
||||
'supports_ssl' => ( 'yes' === get_option( 'woocommerce_force_ssl_checkout' ) ),
|
||||
'ssl_enabled' => ( 'yes' === get_option( 'woocommerce_force_ssl_checkout' ) ),
|
||||
'links' => array(
|
||||
'help' => 'http://docs.woothemes.com/document/woocommerce-rest-api/',
|
||||
'profile' => 'https://raw.github.com/rmccue/WP-API/master/docs/schema.json', // TODO: update this
|
||||
|
|
Loading…
Reference in New Issue