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 / lost-follower-text.php

lost-follower-text.php in Friends 4.3.0, at templates/email/lost-follower-text.php

24 lines 864 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 text for the Lost Follower notification e-mail.
4 *
5 * @version 1.0
6 * @package Friends
7 */
8
9 // This is a text e-mail, not a place for HTML escaping.
10 // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
11
12 // translators: %s is a user display name.
13 printf( __( 'Hi %s!', 'friends' ), esc_html( $args['user']->display_name ) );
14 echo PHP_EOL;
15 echo PHP_EOL;
16 // translators: %s is a username.
17 printf( __( 'Sorry to inform you that you lost follower %s.', 'friends' ), $args['follower']->get_name() . ' (' . $args['follower']->get_preferred_username() . '@' . $args['server'] . ')' );
18 echo PHP_EOL;
19 echo PHP_EOL;
20 echo '> ' . wp_strip_all_tags( $args['follower']->get_summary() );
21 echo PHP_EOL;
22 // translators: %s is a time duration.
23 printf( __( 'They have been following you for: %s', 'friends' ), $args['duration'] );
24