- Timestamp:
- Aug 9, 2012, 3:37:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
r658 r812 435 435 return file_exists($str); 436 436 } 437 438 function is_buddypress_active(){ 439 $active_plugins = get_option('active_plugins'); 440 foreach($active_plugins as $active_plugin_path){ 441 if (strpos($active_plugin_path,'buddypress')!==false) return true; 442 if (strpos($active_plugin_path,'bp-loader.php')!==false) return true; 443 } 444 return false; 445 } 446 437 447 ?>
Note: See TracChangeset
for help on using the changeset viewer.