Changeset 8825 for trunk/src/bp-groups/bp-groups-template.php
- Timestamp:
- 08/13/2014 04:05:21 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-groups/bp-groups-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-template.php
r8824 r8825 3060 3060 } 3061 3061 3062 function bp_is_group_admin_screen( $slug ) { 3063 if ( !bp_is_groups_component() || !bp_is_current_action( 'admin' ) ) 3064 return false; 3065 3066 if ( bp_is_action_variable( $slug ) ) 3067 return true; 3068 3069 return false; 3062 /** 3063 * Is the current page a specific group admin screen? 3064 * 3065 * @since BuddyPress (1.1) 3066 * 3067 * @param string $slug 3068 * @return string 3069 */ 3070 function bp_is_group_admin_screen( $slug = '' ) { 3071 return (bool) ( bp_is_group_admin_page() && bp_is_action_variable( $slug ) ); 3070 3072 } 3071 3073
Note: See TracChangeset
for help on using the changeset viewer.