PluginProbe
Friends / 2.7.8
Friends v2.7.8
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 / frontend / no-friends.php

no-friends.php in Friends 2.7.8, at templates/frontend/no-friends.php

33 lines 720 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Displayed if user has no friends.
4 *
5 * @version 1.0
6 * @package Friends
7 */
8
9 Friends\Friends::template_loader()->get_template_part(
10 'admin/welcome',
11 null,
12 array(
13 'plugin-list' => false,
14 )
15 );
16
17 ?><p class="note">
18 <?php
19 echo wp_kses(
20 sprintf(
21 // translators: %s is the URL of the Friends admin menu.
22 __( '<strong>Note:</strong> This box will go away as soon as you have added your first friend or subscription.<br/>It will remain available via the <a href=%s>Friends admin menu</a> for later reference.', 'friends' ),
23 '"' . admin_url( 'admin.php?page=friends' ) . '"'
24 ),
25 array(
26 'a' => array( 'href' => array() ),
27 'br' => array(),
28 'strong' => array(),
29 )
30 );
31 ?>
32 </p>
33