Helper::add_user( array $user_id )

Description #

Add user or email to current sending list.

Parameters #

  • $user_id
    array (Required) User id or email.

Changelog #

VersionDescription
4.1.0Introduced.

Source #

File: addons/email/class-helper.php

	public function add_user( $user_id ) {
		if ( ! in_array( $user_id, $this->args['users'] ) ) {
			$this->args['users'][] = $user_id;
		}
	}

Leave a Reply

Your email address will not be published. Required fields are marked *

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

Add your comment