| @@ -1,18 +1,6 @@ | ||
| 1 | -<?php | |
| 2 | -ob_start(); // Start output buffering | |
| 3 | -?> | |
| 4 | - | |
| 5 | -<!--Start you code here --> | |
| 6 | -<div class="fbs_email_content_left"> | |
| 7 | - <img src="<?php echo esc_url($userData['photo']);?>" alt="<?php echo esc_attr($userData['display_name']); ?>" class="fbs-avatar"> | |
| 8 | -</div> | |
| 9 | -<div class="fbs_email_content_right"> | |
| 10 | - <p class="fbs_user_name"><?php echo esc_html($userData['display_name']); ?></p> | |
| 11 | - <p class="fbs_email_details"><?php echo wp_kses_post($body); ?></p> | |
| 12 | -</div> | |
| 13 | - | |
| 14 | - | |
| 15 | -<!--end your code here --> | |
| 16 | -<?php | |
| 17 | -$fluent_boards_email_content = ob_get_clean(); | |
| 18 | -include 'template.php'; | |
| 1 | +<?php if (!defined('ABSPATH')) exit; // if accessed directly exit | |
| 2 | +/** | |
| 3 | + * Task activity emails: assigned, unassigned, stage, due date and archived. | |
| 4 | + * Renders through the shared notification card. | |
| 5 | + */ | |
| 6 | +include __DIR__ . '/notification.php'; | |