EDD_Customer::set_primary_email( string $new_primary_email = '' )

Set an email address as the customer’s primary email


Description Description

This will move the customer’s previous primary email to an additional email


Parameters Parameters

$new_primary_email

(Optional) The email address to remove from the customer

Default value: ''


Top ↑

Return Return

(bool) If the email was set as primary 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.