woocommerce_shop_order_search_results, $order_ids, $term, $search_fields
woocommerce_shop_order_search_results, $order_ids, $term, $search_fields
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_shop_order_search_results, $order_ids, $term, $search_fields') is found 1 times:
- /includes/data-stores/class-wc-order-data-store-cpt.php line 647
* @param string $term The search term. * @param array $search_fields The search fields. * @return array */ $order_ids = apply_filters( 'woocommerce_shop_order_search_results', $order_ids, $term, $search_fields ); return array_map( 'absint', $order_ids ); } /** * Gets information about whether permissions were generated yet.