WC_Order_Data_Store_Interface::search_orders()
Search order data for a term and return ids.
Method of the class: WC_Order_Data_Store_Interface{}
No Hooks.
Return
Array
. of ids
Usage
$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface(); $WC_Order_Data_Store_Interface->search_orders( $term );
- $term(string) (required)
- Term name.
WC_Order_Data_Store_Interface::search_orders() WC Order Data Store Interface::search orders code WC 9.4.2
public function search_orders( $term );