Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Issue with default groups widget


r-a-y
Keymaster

@r-a-y

Don’t trial and error functions!

Look in bp-core-templatetags.php to find conditionals.

It takes less than five minutes to do this.

bp_is_my_profile()

bp_is_directory()

bp_is_profile_component()

bp_is_activity_component()

bp_is_blogs_component()

etc.

It’s all there.

[EDIT]

Just updated the conditional template tags page in the codex:

https://codex.buddypress.org/developer-docs/conditional-template-tags/

Skip to toolbar