DataStore::add_order_by_params( array $query_args, string $from_arg, string $id_cell )

Fills ORDER BY clause of SQL request based on user supplied parameters.


Description Description


Parameters Parameters

$query_args

(Required) Parameters supplied by the user.

$from_arg

(Required) Target of the JOIN sql param.

$id_cell

(Required) ID cell identifier, like table_name.id_column_name.


Top ↑

Source Source

File: packages/woocommerce-admin/src/API/Reports/Categories/DataStore.php


			


Top ↑

User Contributed Notes User Contributed Notes

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