Contents
bp_is_groups_component()
Check whether the current page is part of the Groups component.
Description
Return
(bool) True if the current page is part of the Groups component.
Source
File: bp-core/bp-core-template.php
function bp_is_groups_component() { return (bool) bp_is_current_component( 'groups' ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.1.0 | Introduced. |
Related
Uses
Uses | Description |
---|---|
bp-core/bp-core-template.php: bp_is_current_component() |
Check to see whether the current page belongs to the specified component. |
Used By | Description |
---|---|
bp-groups/bp-groups-template.php: bp_get_group_current_invite_tab() |
Returns the current group invite tab slug. |
bp-core/bp-core-template.php: bp_is_group_messages() |
Is the current page a group’s message page? |
bp-core/bp-core-template.php: bp_is_group_folders() |
Is the current page a group’s folder page? |
bp-core/bp-core-template.php: bp_is_group_document() |
Is the current page a group’s document page? |
bp-core/compatibility/bp-incompatible-plugins-helper.php: bp_core_memberpress_the_content() |
Fix Memberpress Privacy for BuddyPress pages. |
bp-forums/groups.php: BBP_Forums_Group_Extension::setup_filters() |
Setup the group forums class filters |
bp-groups/actions/create.php: groups_action_sort_creation_steps() |
Sort the group creation steps. |
bp-groups/actions/feed.php: groups_action_group_feed() |
Load the activity feed for the current group. |
bp-groups/actions/join.php: groups_action_join_group() |
Catch and process “Join Group” button clicks. |
bp-groups/actions/random.php: groups_action_redirect_to_random_group() |
Catch requests for a random group page (example.com/groups/?random-group) and redirect. |
bp-groups/screens/single/activity-permalink.php: groups_screen_group_activity_permalink() |
Handle the display of a single group activity item. |
bp-groups/screens/single/admin.php: groups_screen_group_admin() |
Handle the display of a group’s Admin pages. |
bp-groups/actions/create.php: groups_action_create_group() |
Catch and process group creation form submissions. |
bp-groups/actions/leave-group.php: groups_action_leave_group() |
Catch and process “Leave Group” button clicks. |
bp-groups/classes/class-bp-group-extension.php: BP_Group_Extension::setup_edit_hooks() |
Hook this extension’s Edit panel into BuddyPress, if necessary. |
bp-groups/classes/class-bp-groups-theme-compat.php: BP_Groups_Theme_Compat::is_group() |
Are we looking at something that needs group theme compatibility? |
bp-groups/classes/class-bp-groups-component.php: BP_Groups_Component::setup_title() |
Set up the title for pages and |
bp-groups/classes/class-bp-groups-component.php: BP_Groups_Component::late_includes() |
Late includes method. |
bp-groups/classes/class-bp-groups-component.php: BP_Groups_Component::setup_globals() |
Set up component global data. |
bp-groups/classes/class-bp-groups-component.php: BP_Groups_Component::setup_canonical_stack() |
Set up canonical stack for this component. |
bp-groups/classes/class-bp-groups-component.php: BP_Groups_Component::setup_nav() |
Set up component navigation. |
bp-groups/bp-groups-template.php: bp_get_group_current_admin_tab() |
Returns the current group admin tab slug. |
bp-groups/bp-groups-template.php: bp_get_group_current_members_tab() |
Returns the current group members tab slug. |
bp-groups/bp-groups-template.php: bp_is_group_creation_step() |
Check which step is displayed during the group creation process. |
bp-groups/bp-groups-template.php: bp_group_is_activity_permalink() |
Determine whether the current page is a group activity permalink. |
bp-integrations/learndash/buddypress/Reports.php: Reports::registerReportsScript() |
Add scripts when it’s on the reports page |
bp-core/bp-core-template.php: bp_get_the_body_class() |
Customize the body class, according to the currently displayed BP content. |
bp-core/bp-core-template.php: bp_is_group_media() |
Is the current page a group’s activity page? |
bp-core/bp-core-template.php: bp_is_group_albums() |
Is the current page a group’s activity page? |
bp-core/bp-core-template.php: bp_is_group_subgroups() |
Is the current page a group’s subgroups page? |
bp-core/bp-core-template.php: bp_is_group_forum_topic() |
Is the current page a group forum topic? |
bp-core/bp-core-template.php: bp_is_group_forum_topic_edit() |
Is the current page a group forum topic edit page? |
bp-core/bp-core-template.php: bp_is_group_members() |
Is the current page a group’s Members page? |
bp-core/bp-core-template.php: bp_is_group_leaders() |
Is the current page a group’s Leaders page? |
bp-core/bp-core-template.php: bp_is_group_invites() |
Is the current page a group’s Invites page? |
bp-core/bp-core-template.php: bp_is_group_membership_request() |
Is the current page a group’s Request Membership page? |
bp-core/bp-core-template.php: bp_is_group_leave() |
Is the current page a leave group attempt? |
bp-core/bp-core-template.php: bp_is_group_single() |
Is the current page part of a single group? |
bp-core/bp-core-template.php: bp_is_group_create() |
Is the current page part of the group creation process? |
bp-core/bp-core-template.php: bp_is_group_admin_page() |
Is the current page part of a single group’s admin screens? |
bp-core/bp-core-template.php: bp_is_group_activity() |
Is the current page a group’s activity page? |
bp-core/bp-core-template.php: bp_is_groups_directory() |
Is the current page the groups directory? |
bp-core/bp-core-template.php: bp_is_group() |
Does the current page belong to a single group? |
bp-core/bp-core-template.php: bp_is_group_home() |
Is the current page a single group’s home page? |
bp-core/bp-core-template.php: bp_is_user_groups() |
Is the current page part of a user’s Groups page? |
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.