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