PluginProbe
Friends / 4.3.0
Friends v4.3.0
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
friends / templates / email / friend-message-received.php

friend-message-received.php in Friends 4.3.0, at templates/email/friend-message-received.php

37 lines 851 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * This template contains the HTML for the Friend Message Received notification e-mail.
4 *
5 * @version 1.0
6 * @package Friends
7 */
8
9 ?>
10 <p>
11 <?php
12 // translators: %s is a user display name.
13 echo esc_html( sprintf( __( 'Hi %s!', 'friends' ), $args['user']->display_name ) );
14 ?>
15 </p>
16
17 <p>
18 <?php
19 // translators: %s is a username.
20 echo esc_html( sprintf( __( 'We just received a message from %s:', 'friends' ), $args['friend_user']->display_name ) );
21 ?>
22 </p>
23
24 <blockquote class="message-content">
25 <?php
26 echo wp_kses_post( apply_filters( 'friends_rewrite_mail_html', $args['message'], $args ) );
27 ?>
28 </blockquote>
29
30
31 <p>
32 <?php
33 // translators: %s is a URL.
34 echo wp_kses( sprintf( __( 'Open the <a href="%s">conversation</a> to respond.', 'friends' ), esc_url( $args['message_url'] ) ), array( 'a' => array( 'href' => true ) ) );
35 ?>
36 </p>
37