Changeset 4596 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 07/04/2011 02:07:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r4558 r4596 7 7 * true or false on success or failure. 8 8 */ 9 10 /** 11 * Checks $bp pages global and looks for directory page 12 * 13 * @since 1.3 14 * 15 * @global object $bp Global BuddyPress settings object 16 * @return bool True if set, False if empty 17 */ 18 function bp_groups_has_directory() { 19 global $bp; 20 21 return (bool) !empty( $bp->pages->groups->id ); 22 } 9 23 10 24 function groups_get_group( $args = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.