Posted By

Farhan on 11/06/10


Tagged

wordpress buddpress


Versions (?)

Check if Buddypress Enabled


 / Published in: PHP
 

URL: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/if-bp-is-enable-conditional-tag/

  1. <?php if (defined('BP_VERSION')) { ?>
  2. BP IS ENABLED
  3. <?php } else { ?>
  4. NO BP FOR YOU
  5. <?php } ?>

Report this snippet  

You need to login to post a comment.