Check if Buddypress Enabled


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php if (defined('BP_VERSION')) { ?>
  2. BP IS ENABLED
  3. <?php } else { ?>
  4. NO BP FOR YOU
  5. <?php } ?>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.