WC_Order_Data_Store_Interface::search_orders()publicWC 1.0

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() code WC 9.4.2

public function search_orders( $term );