-
apply_filters( 'bbp_get_moderator_role', $role )
Source Reference:
-
* @uses apply_filters() * @return string */ function bbp_get_moderator_role() { // Hardcoded moderated user role $role = 'bbp_moderator'; // Allow override return apply_filters( 'bbp_get_moderator_role', $role ); } /** * Add the default role and mapped bbPress caps to the current user if needed * * This function will bail if the forum is not global in a multisite * installation of WordPress, or if the user is marked as spam or deleted. * * @since bbPress (r3380) *
-