WC_Product_Data_Store_Interface::get_ending_sales │ public │ WC 1.0

Returns an array of IDs of products that have sales which are due to end.

Paired with get_starting_sales(), which excludes what this matches. Overriding one without the other strands products when this is narrowed, and restores the daily start/end churn when it is broadened.

Method of the class: WC_Product_Data_Store_Interface{}

No Hooks.

Returns

array.

Usage

$WC_Product_Data_Store_Interface = new WC_Product_Data_Store_Interface();
$WC_Product_Data_Store_Interface->get_ending_sales();

WC_Product_Data_Store_Interface::get_ending_sales() code WC 11.2.2

public function get_ending_sales();