Skip to:
Content
Pages
Categories
Search
Top
Bottom

user role update notification


  • erwinodendaal
    Participant

    @erwinodendaal

    I have the “Members”-plugin installed. After updating bbPress and changing all roles of the users from “(wordpress-)”participants” into “subscribers”, the “participant”-roles of bbPress were empty. Now all subscribers can participate in the private forums. Not what I’ve had in mind…

    But in my functions.php I have a script to notify users of their updated capabilities. It starts with:
    function user_role_update( $user_id, $new_role ) {
    if($new_role == 'bbp_participant') {

    But that doesn’t seem to work anymore. Did the name of the bbPress participant role change? Will
    function user_role_update( $user_id, $new_role ) {
    if($new_role == 'participant') {

    work?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar