Changeset 4793 for trunk/includes/core/capabilities.php
- Timestamp:
- 03/07/2013 10:58:31 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/core/capabilities.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/core/capabilities.php
r4753 r4793 441 441 442 442 /** 443 * Gets a translated role name from a role ID 444 * 445 * @since bbPress (r4792) 446 * 447 * @param string $role_id 448 * @return string Translated role name 449 */ 450 function bbp_get_dynamic_role_name( $role_id = '' ) { 451 $roles = bbp_get_dynamic_roles(); 452 $role = isset( $roles[$role_id] ) ? $roles[$role_id]['name'] : ''; 453 454 return apply_filters( 'bbp_get_dynamic_role_name', $role, $role_id, $roles ); 455 } 456 457 /** 443 458 * Removes the bbPress roles from the editable roles array 444 459 *
Note: See TracChangeset
for help on using the changeset viewer.