Forums
-
- Forum
- Posts
-
- Installation
- 28,529
- Troubleshooting
- 62,964
- Themes
- 10,453
- Plugins
- 15,408
- Requests & Feedback
- 15,048
- Showcase
- 3,252
-
thanks,
this will add throttle to the participant role
Put this in your child theme’s function file – or use
add_filter( 'bbp_get_caps_for_role', 'brandi_role_caps_filter', 10, 2 );
function brandi_role_caps_filter( $caps, $role )
{
/* Only filter for roles we are interested in! */
if( $role == 'bbp_participant' )
$caps['throttle'] = true ;
return $caps;
}