WordPress at Your Fingertips
function is not described

WC_Customer_Download::set_user_email() public WC 1.0

Set user_email.

{} It's a method of the class: WC_Customer_Download{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Customer_Download = new WC_Customer_Download();
$WC_Customer_Download->set_user_email( $value );
$value(int) (required)
User email.

Code of WC_Customer_Download::set_user_email() WC 5.7.1

public function set_user_email( $value ) {
	$this->set_prop( 'user_email', sanitize_email( $value ) );
}