bbp_get_caps_for_role

  • apply_filters( 'bbp_get_caps_for_role', $caps, $role )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-caps.php :: Trac Source Line: 468
      				// Topic tag caps
      				'assign_topic_tags',
      
      			);
      
      			break;
      	}
      
      	return apply_filters( 'bbp_get_caps_for_role', $caps, $role );
      }
      
      /**
       * Give a user the default 'Forum Participant' role when creating a topic/reply
       * on a site they do not have a role or capability on.
       *
       * @since bbPress (r3410)
       *
       * @global bbPress $bbp
       *
      

Comments are closed.