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.

Метод класса: WC_Product_Data_Store_Interface{}

Хуков нет.

Возвращает

array.

Использование

$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() WC 11.2.2

public function get_ending_sales();