invited_user_email

invited_user_email

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('invited_user_email') is found 1 times:

  • /wp-admin/user-new.php line 167
    			 * @param array  $role        Array containing role information for the invited user.
    			 * @param string $newuser_key The key of the invitation.
    			 *
    			 */
    			$new_user_email = apply_filters( 'invited_user_email', $new_user_email, $user_id, $role, $newuser_key );
    
    			wp_mail(
    				$new_user_email['to'],
    				$new_user_email['subject'],
    				$new_user_email['message'],
    				$new_user_email['headers']