Action_Helpers_Email::santize_emails( mixed $emails )

maybe_santize_email


Parameters Parameters

$emails

(mixed) (Required)


Top ↑

Return Return

(void)


Source Source

File: src/core/lib/recipe-parts/actions/trait-action-helpers-email.php

	public function santize_emails( $emails ) {

		$sanitized_emails = array();

		foreach ( $emails as $key => $email ) {
			$sanitized_emails[$key] = sanitize_email( $email );
		}
		
		return $sanitized_emails;
	}