EDD_Customer::add_email( string $email = '', bool $primary = false )

Attach an email to the customer


Description Description


Parameters Parameters

$email

(Optional) The email address to remove from the customer

Default value: ''

$primary

(Optional) Allows setting the email added as the primary

Default value: false


Top ↑

Return Return

(bool) If the email was added successfully


Top ↑

Source Source

File: includes/class-edd-customer.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.