WC_Product_Data_Store_Interface::get_starting_sales │ public │ WC 1.0

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().

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_starting_sales();

WC_Product_Data_Store_Interface::get_starting_sales() code WC 11.2.2

public function get_starting_sales();