bp_get_friends_slug()

Return the friends component slug.

Description

Return

(string)

Source

File: bp-friends/bp-friends-template.php

	function bp_get_friends_slug() {

		/**
		 * Filters the friends component slug.
		 *
		 * @since BuddyPress 1.5.0
		 *
		 * @param string $value Connections component slug.
		 */
		return apply_filters( 'bp_get_friends_slug', buddypress()->friends->slug );
	}

Changelog

Changelog
Version Description
BuddyPress 1.5.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.