Changeset 6438 for trunk/src/includes/core/capabilities.php
- Timestamp:
- 05/27/2017 05:04:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/capabilities.php
r6118 r6438 208 208 } 209 209 210 // Filter & return 210 211 return apply_filters( 'bbp_get_caps_for_role', $caps, $role ); 211 212 } … … 265 266 $all_roles = apply_filters( 'editable_roles', $the_roles ); 266 267 268 // Filter & return 267 269 return apply_filters( 'bbp_get_blog_roles', $all_roles, $wp_roles ); 268 270 } … … 395 397 : ''; 396 398 399 // Filter & return 397 400 return apply_filters( 'bbp_get_dynamic_role_name', $role, $role_id, $roles ); 398 401 } … … 436 439 */ 437 440 function bbp_get_keymaster_role() { 441 442 // Filter & return 438 443 return apply_filters( 'bbp_get_keymaster_role', 'bbp_keymaster' ); 439 444 } … … 448 453 */ 449 454 function bbp_get_moderator_role() { 455 456 // Filter & return 450 457 return apply_filters( 'bbp_get_moderator_role', 'bbp_moderator' ); 451 458 } … … 460 467 */ 461 468 function bbp_get_participant_role() { 469 470 // Filter & return 462 471 return apply_filters( 'bbp_get_participant_role', 'bbp_participant' ); 463 472 } … … 472 481 */ 473 482 function bbp_get_spectator_role() { 483 484 // Filter & return 474 485 return apply_filters( 'bbp_get_spectator_role', 'bbp_spectator' ); 475 486 } … … 484 495 */ 485 496 function bbp_get_blocked_role() { 497 498 // Filter & return 486 499 return apply_filters( 'bbp_get_blocked_role', 'bbp_blocked' ); 487 500 }
Note: See TracChangeset
for help on using the changeset viewer.