WC_Product_Data_Store_Interface::get_starting_sales
Returns an array of IDs of products that have sales starting soon.
Must exclude sales that have already ended, using the same test get_ending_sales() matches on. Implement only one of the pair and a product can reach neither queue, leaving its price where it is. See get_ending_sales().
Метод класса: WC_Product_Data_Store_Interface{}
Хуков нет.
Возвращает
array.
Использование
$WC_Product_Data_Store_Interface = new WC_Product_Data_Store_Interface(); $WC_Product_Data_Store_Interface->get_starting_sales();
Код WC_Product_Data_Store_Interface::get_starting_sales() WC Product Data Store Interface::get starting sales WC 11.2.2
public function get_starting_sales();