bp_is_user_activity()
Is the current page a user’s activity stream page?
Description Description
Eg http://example.com/members/joe/activity/ (or any subpages thereof).
Return Return
(bool) True if the current page is a user's activity stream page.
Source Source
File: bp-core/bp-core-template.php
function bp_is_user_activity() { return (bool) ( bp_is_user() && bp_is_activity_component() ); }
Changelog Changelog
Version | Description |
---|---|
1.1.0 | Introduced. |