Support » Plugins » Banning Subscriber Roles to Wordspew

  • Can anyone help me with the topic mentioned above? I don’t want Subscriber Roles to use my shoutbox and it seems that wordspew doesn’t have this kind of feature.

    Somebody please?!

    Thanks a lot!

Viewing 1 replies (of 1 total)
  • MasterShake


    if( $current_user->id )  {
    	foreach($wp_roles->role_names as $role => $Role) {
    		if (array_key_exists($role, $current_user->caps))
    if ($role == "administrator") //or whoever you want to access wordspew
      if (function_exists('jal_get_shoutbox')) { jal_get_shoutbox(); }

    put that where you want to display your wordspew

Viewing 1 replies (of 1 total)
  • The topic ‘Banning Subscriber Roles to Wordspew’ is closed to new replies.