HEX
Server: nginx/1.27.1
System: Linux in-4 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: ilikadirect (1186)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v6964/gopalak/public_html/wp-content/plugins/buddypress/bp-friends/screens/my-friends.php
<?php
/**
 * Friends: User's "Friends" screen handler
 *
 * @package BuddyPress
 * @subpackage FriendsScreens
 * @since 3.0.0
 */

/**
 * Catch and process the My Friends page.
 *
 * @since 1.0.0
 */
function friends_screen_my_friends() {

	/**
	 * Fires before the loading of template for the My Friends page.
	 *
	 * @since 1.0.0
	 */
	do_action( 'friends_screen_my_friends' );

	$templates = array(
		/**
		 * Filters the template used to display the My Friends page.
		 *
		 * @since 1.0.0
		 *
		 * @param string $template Path to the my friends template to load.
		 */
		apply_filters( 'friends_template_my_friends', 'members/single/home' ),
		'members/single/index',
	);

	bp_core_load_template( $templates );
}