apply_filters( 'edd_pre_get_customer', mixed|null $customer , string $field , mixed $value , EDD_DB_Customers $edd_customers_db )
Filters the Customer before querying the database.
Description Description
Return a non-null value to bypass the default query and return early.
Parameters Parameters
- $customer
-
Customer to return instead. Default null to use default method.
- $field
-
The field to retrieve by.
- $value
-
The value to search by.
- $edd_customers_db
-
Customer database class.
Source Source
File: includes/class-edd-db-customers.php
Changelog Changelog
Version | Description |
---|---|
2.9.23 | Introduced. |