Deprecated

This method has been deprecated.

AnsPress_Email_Hooks::initiate_send_email()

Description #

Sends email to array of email ids.

Changelog #

VersionDescription
4.1.0Introduced.

Source #

File: addons/free/email.php

	public static function initiate_send_email() {
		SELF::$emails = array_unique( SELF::$emails );

		SELF::$emails = apply_filters( 'ap_emails_to_notify', SELF::$emails );

		foreach ( (array) SELF::$emails as $email ) {
			SELF::send_mail( $email, SELF::$subject, SELF::$message );
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment