bp_is_groups_component()
Check whether the current page is part of the Groups component.
Return #Return
(bool) True if the current page is part of the Groups component.
Source #Source
File: bp-core/bp-core-template.php
function bp_is_groups_component() { return (bool) bp_is_current_component( 'groups' ); }
Expand full source code Collapse full source code View on Trac
Related #Related
Uses #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 #Used By
Used By | Description |
---|---|
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_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() |
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_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_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_invites() |
Is the current page a group’s Invites 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_user_groups() |
Is the current page part of a user’s Groups page? |
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/classes/class-bp-groups-component.php: BP_Groups_Component::setup_title() |
Set up the title for pages and |
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-group-extension.php: BP_Group_Extension::setup_edit_hooks() |
Hook this extension’s Edit panel into BuddyPress, if necessary. |
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_is_group_creation_step() | |
bp-groups/bp-groups-template.php: bp_group_is_activity_permalink() |
Determine whether the current page is a group activity permalink. |
bp-groups/screens/single/admin.php: groups_screen_group_admin() |
Handle the display of a group’s Admin pages. |
bp-groups/screens/single/activity-permalink.php: groups_screen_group_activity_permalink() |
Handle the display of a single group activity item. |
bp-groups/actions/leave-group.php: groups_action_leave_group() |
Catch and process “Leave Group” button clicks. |
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/actions/feed.php: groups_action_group_feed() |
Load the activity feed for the current group. |
bp-groups/actions/create.php: groups_action_create_group() |
Catch and process group creation form submissions. |
bp-groups/actions/create.php: groups_action_sort_creation_steps() |
Sort the group creation steps. |
Changelog #Changelog
Version | Description |
---|---|
1.1.0 | Introduced. |