WordPress at Your Fingertips
filter is not described

woocommerce_customer_pre_search_customers filter-hook . WC 3.0.7

Search customers and return customer IDs.

Usage

add_filter( 'woocommerce_customer_pre_search_customers', 'filter_function_name_7935', 10, 2 );
function filter_function_name_7935( $term, $limit ){
	// filter...

	return $term;
}
$term(string)
Search term.
$limit
-

Changelog

Since 3.0.7 Introduced.

Where the hook is called

WC_Customer_Data_Store::search_customers()
woocommerce_customer_pre_search_customers
woocommerce/includes/data-stores/class-wc-customer-data-store.php 451
$results = apply_filters( 'woocommerce_customer_pre_search_customers', false, $term, $limit );

Where in WP core the hook is used WooCommerce

Usage not found.