WordPress at Your Fingertips
function is not described

WC_Log_Handler_Email::add_email() public WC 1.0

Adds an email to the list of recipients.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Log_Handler_Email = new WC_Log_Handler_Email();
$WC_Log_Handler_Email->add_email( $email );
$email(string) (required)
Email address to add.

Code of WC_Log_Handler_Email::add_email() WC 5.8.0

public function add_email( $email ) {
	array_push( $this->recipients, $email );
}