Helper::add_user( array $user_id )
Description #
Add user or email to current sending list.
Parameters #
- $user_idarray (Required) User id or email.
Source #
File: addons/email/class-helper.php
public function add_user( $user_id ) { if ( ! in_array( $user_id, $this->args['users'] ) ) { // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict $this->args['users'][] = $user_id; } }
Expand full source code Collapse full source code View on GitHub: addons/email/class-helper.php:148
Add your comment