bbp_get_moderator_role

  • apply_filters( 'bbp_get_moderator_role', $role )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-caps.php :: Trac Source Line: 550
       * @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)
       *
      

Comments are closed.