EDD_Customer::add_email( string $email = '', bool $primary = false )
Attach an email to the customer
Description Description
Parameters Parameters
-
(Optional) The email address to remove from the customer
Default value: ''
- $primary
-
(Optional) Allows setting the email added as the primary
Default value: false
Return Return
(bool) If the email was added successfully
Source Source
File: includes/class-edd-customer.php
Changelog Changelog
Version | Description |
---|---|
2.6 | Introduced. |