Is the current page a user’s Friends page?

Description Description

Eg http://example.com/members/joe/blogs/friends/ (or a subpage thereof).

Top ↑

Return Return

(bool) True if the current page is a user's Friends page.

Source Source

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

function bp_is_user_friends() {
	return (bool) ( bp_is_user() && bp_is_friends_component() );

Top ↑

Changelog Changelog

Version Description
1.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.