Automattic\WooCommerce\Admin\API\Reports
ExportableInterface::prepare_item_for_export()
Get the column values for export.
Method of the class: ExportableInterface{}
No Hooks.
Return
Array
. Key value pair of Column ID => Value.
Usage
$ExportableInterface = new ExportableInterface(); $ExportableInterface->prepare_item_for_export( $item );
- $item(array) (required)
- Single report item/row.
ExportableInterface::prepare_item_for_export() ExportableInterface::prepare item for export code WC 9.6.1
public function prepare_item_for_export( $item );