Changeset 4596 for trunk/bp-activity/bp-activity-functions.php
- Timestamp:
- 07/04/2011 02:07:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-functions.php
r4590 r4596 9 9 * @subpackage Activity Core 10 10 */ 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_activity_has_directory() { 21 global $bp; 22 23 return (bool) !empty( $bp->pages->activity->id ); 24 } 11 25 12 26 /**
Note: See TracChangeset
for help on using the changeset viewer.