ExportableInterface
in
WooCommerce Reports exportable controller interface.
Tags
Table of Contents
- get_export_columns() : array<string|int, mixed>
- Get the column names for export.
- prepare_item_for_export() : array<string|int, mixed>
- Get the column values for export.
Methods
get_export_columns()
Get the column names for export.
public
get_export_columns() : array<string|int, mixed>
Return values
array<string|int, mixed> — Key value pair of Column ID => Label.prepare_item_for_export()
Get the column values for export.
public
prepare_item_for_export(array<string|int, mixed> $item) : array<string|int, mixed>
Parameters
- $item : array<string|int, mixed>
-
Single report item/row.