# friends/2.7.7/templates/frontend/no-friends.php

Friends, version 2.7.7. 33 lines.

- Page: https://pluginprobe.com/plugins/friends/2.7.7/code/templates/frontend/no-friends.php
- Raw: https://pluginprobe.com/plugins/friends/2.7.7/raw/templates/frontend/no-friends.php
- Modified: 2023-07-23T07:15:30+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/friends/2.7.7/code/templates/frontend/no-friends.php#L10-L20`.

```php
<?php
/**
 * Displayed if user has no friends.
 *
 * @version 1.0
 * @package Friends
 */

Friends\Friends::template_loader()->get_template_part(
	'admin/welcome',
	null,
	array(
		'plugin-list' => false,
	)
);

?><p class="note">
	<?php
	echo wp_kses(
		sprintf(
			// translators: %s is the URL of the Friends admin menu.
			__( '<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' ),
			'"' . admin_url( 'admin.php?page=friends' ) . '"'
		),
		array(
			'a'      => array( 'href' => array() ),
			'br'     => array(),
			'strong' => array(),
		)
	);
	?>
</p>

```
