Automattic\WooCommerce\Admin\API\Reports

ExportableInterface::prepare_item_for_export()publicWC 1.0

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() code WC 8.7.0

public function prepare_item_for_export( $item );