WordPress at Your Fingertips
function is not described

WC_Order_Data_Store_Interface::search_orders() public WC 1.0

Search order data for a term and return ids.

{} It's a 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.

Code of WC_Order_Data_Store_Interface::search_orders() WC 5.8.0

public function search_orders( $term );