Changeset 6479 for trunk/src/includes/core/sub-actions.php
- Timestamp:
- 06/04/2017 09:24:35 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/sub-actions.php
r6438 r6479 524 524 * @param array $themes 525 525 * @uses apply_filters() Calls 'bbp_allowed_themes' with the allowed themes list 526 * 527 * @return array Array of allowed themes 526 528 */ 527 529 function bbp_allowed_themes( $themes ) { 528 530 529 531 // Filter & return 530 return apply_filters( 'bbp_allowed_themes', $themes );532 return (array) apply_filters( 'bbp_allowed_themes', $themes ); 531 533 } 532 534 … … 540 542 * @param int $user_id User id 541 543 * @param array $args Arguments 544 * 545 * @return array Array of capabilities 542 546 */ 543 547 function bbp_map_meta_caps( $caps = array(), $cap = '', $user_id = 0, $args = array() ) { 544 548 545 549 // Filter & return 546 return apply_filters( 'bbp_map_meta_caps', $caps, $cap, $user_id, $args );547 } 550 return (array) apply_filters( 'bbp_map_meta_caps', $caps, $cap, $user_id, $args ); 551 }
Note: See TracChangeset
for help on using the changeset viewer.