Skip to:
Content
Pages
Categories
Search
Top
Bottom

Facestream and Tweetstream for Admin only

  • Hi,

    I wonder how to allow acces to Facestream and Tweetstream plugin for Admins only. Any idea ?

    Thanks.
    Guillaume.

Viewing 1 replies (of 1 total)
  • I’ve placed this code before button display. But I think it will be better to charge the plugin only if the admin is logged in, just after to have checked if buddypress is runing, I don’t know how to do that. Excuse my english..

    if ( $bp->loggedin_user->is_site_admin ) {

Viewing 1 replies (of 1 total)
  • The topic ‘Facestream and Tweetstream for Admin only’ is closed to new replies.
Skip to toolbar