# fluent-community/1.0.96/app/Views/email/Default/_invitation.php

FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS &amp; Online Courses, version 1.0.96. 34 lines.

- Page: https://pluginprobe.com/plugins/fluent-community/1.0.96/code/app/Views/email/Default/_invitation.php
- Raw: https://pluginprobe.com/plugins/fluent-community/1.0.96/raw/app/Views/email/Default/_invitation.php
- Modified: 2024-11-14T15:59:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-community/1.0.96/code/app/Views/email/Default/_invitation.php#L10-L20`.

```php
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php
/**
 * @var $invitee_name string
 * @var $by_name string
 * @var $by_email string
 * @var $site_title string
 * @var $access_url string
 */
?>
<div style="background-color: #ffffff; padding: 20px; border-radius: 8px;">
    <p><?php echo esc_html(sprintf(__('Hey %s,', $invitee_name), 'fluent-community')); ?></p>
    <p><?php
        echo wp_kses_post(sprintf(
            __('%1$s (%2$s) has invited you to join in %3$s.', 'fluent-community'),
            '<strong>'.$by_name.'</strong>',
            $by_email,
            '<strong>'.$site_title.'</strong>'
        ));
        ?>
    </p>

    <p><?php esc_html_e('Click here to accept your invitation:', 'fluent-community') ?></p>

    <a href="<?php echo esc_url($access_url); ?>" style="background-color: #000000; color: #ffffff; padding: 10px 20px; text-align: center; border-radius: 5px; display: inline-block; text-decoration: none;">
        <?php esc_html_e('Accept invitation', 'fluent-community'); ?>
    </a>

    <hr/>
    <p style="font-size: 12px; color: #666; text-align: left; padding-top: 20px;">
        <?php esc_html_e('If you think you\'ve received this invitation in error, please ignore this email.', 'fluent-community'); ?>
    </p>
</div>

```
