EDD_DB_Customers::get_customer_by( $field = 'id', mixed $value )
Retrieves a single customer from the database
Description Description
Parameters Parameters
- $column
-
(Required) id or email
- $value
-
(Required) The Customer ID or email to search
Return Return
(mixed) Upon success, an object of the customer. Upon failure, NULL
Source Source
File: includes/class-edd-db-customers.php
Changelog Changelog
Version | Description |
---|---|
2.3 | Introduced. |