bb_get_assignable_caps

The BuddyPress bb get assignable caps function.

Description

bb_get_assignable_caps(); 

Usage

  1. if ( !function_exists( 'bb_get_assignable_caps' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-core.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bb_get_assignable_caps(); 
  7.  

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-core.php  
  1. function bb_get_assignable_caps() { 
  2. $caps = array(); 
  3. if ( $throttle_time = bb_get_option( 'throttle_time' ) ) 
  4. $caps['throttle'] = sprintf( __('Ignore the %d second post throttling limit'), $throttle_time );