Controller::format_data_value( array $data, string $stat, string $report, string $chart, array $query_args )

Format the data returned from the API for given stats.


Description Description


Parameters Parameters

$data

(Required) Data from external endpoint.

$stat

(Required) Name of the stat.

$report

(Required) Name of the report.

$chart

(Required) Name of the chart.

$query_args

(Required) Query args.


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.