WC_Order_Data_Store_Interface::search_orders()
Search order data for a term and return ids.
Метод класса: WC_Order_Data_Store_Interface{}
Хуков нет.
Возвращает
Массив
. of ids
Использование
$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface(); $WC_Order_Data_Store_Interface->search_orders( $term );
- $term(строка) (обязательный)
- Term name.
Код WC_Order_Data_Store_Interface::search_orders() WC Order Data Store Interface::search orders WC 9.5.1
public function search_orders( $term );