woocommerce_customer_pre_search_customers

woocommerce_customer_pre_search_customers

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_customer_pre_search_customers') is found 1 times:

  • /includes/data-stores/class-wc-customer-data-store.php line 538
    	 *
    	 * @return array
    	 */
    	public function search_customers( $term, $limit = '' ) {
    		$results = apply_filters( 'woocommerce_customer_pre_search_customers', false, $term, $limit );
    		if ( is_array( $results ) ) {
    			return $results;
    		}
    
    		$query = new WP_User_Query(
    			apply_filters(