WC_Order_Data_Store_Interface::get_recorded_sales()
Gets information about whether sales were recorded.
Метод класса: WC_Order_Data_Store_Interface{}
Хуков нет.
Возвращает
true|false
.
Использование
$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface(); $WC_Order_Data_Store_Interface->get_recorded_sales( $order );
- $order(WC_Order) (обязательный)
- Order object.
Код WC_Order_Data_Store_Interface::get_recorded_sales() WC Order Data Store Interface::get recorded sales WC 8.7.0
public function get_recorded_sales( $order );