Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825

Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830

Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Action_Helpers_Email::santize_emails( mixed $emails )

maybe_santize_email


Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830

Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825

Parameters Parameters

$emails

(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;
	}