Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: CubePoints and BuddyPress Intregration?

Just seen this code snippet above.

if ( !is_site_admin() )
return false;

I’d suggest doing it like this, as it saves database queries on regular WP:

global $bp;
if ( !$bp->loggedin_user->is_site_admin )
return false;

Skip to toolbar