<?php
/**
 * Email Template (Plain Text): Suspicious Session Activity (User)
 *
 * This template can be overridden by copying it to:
 * your-theme/guard-dog/emails/plain/suspicious-activity-user-plain.php
 *
 * Available variables:
 * @var WP_User $user     The affected user object
 * @var string $site_name The site name
 *
 * @package GuardDog
 * @since 1.9.1
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// Translators: %s is the site name.
echo esc_html( sprintf( __( '[%s] Security Alert: Unusual Session Activity', 'guard-dog' ), $site_name ) );
echo "\n";
echo esc_html( str_repeat( '=', 60 ) );
echo "\n\n";

/* translators: %s is the user's display name */
echo esc_html( sprintf( __( 'Hello %s,', 'guard-dog' ), $user->display_name ) );
echo "\n\n";

echo esc_html__( "We detected unusual activity on your account. If this wasn't you, please change your password immediately and review your active sessions.", 'guard-dog' );
echo "\n\n";

echo esc_html( str_repeat( '-', 60 ) );
echo "\n";
/* translators: %s is the site name */
echo esc_html( sprintf( __( 'This email was sent by %s', 'guard-dog' ), $site_name ) );
echo "\n";
