bp_is_user()

Is the current page a user page?


Description Description

Will return true anytime there is a displayed user.


Return Return

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


Top ↑

Source Source

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

function bp_is_user() {
	return (bool) bp_displayed_user_id();
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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