bbp_get_participant_role

The participant role for registered user that can participate in forums.

Description

(string) bbp_get_participant_role(); 

Returns (string)


Usage

  1. if ( !function_exists( 'bbp_get_participant_role' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/core/capabilities.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_get_participant_role(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/core/capabilities.php  
  1. function bbp_get_participant_role() { 
  2. return apply_filters( 'bbp_get_participant_role', 'bbp_participant' );