Class WC_API_XML_Handler
- WC_API_XML_Handler implements WC_API_Handler
Methods summary
public
|
|
public
string
|
|
public
array
|
|
public
string
|
|
public
array
|
#
format_sales_report_data( array $data )
Adjust the sales report array format to change totals keyed with the sales date to become an attribute for the totals element instead |
public
array
|
#
format_product_data( array $data )
Adjust the product data to handle options for attributes without a named child element and other fields that have no named child elements (e.g. categories = array( 'cat1', 'cat2' ) ) |