Changeset 7139 for trunk/bp-core/bp-core-options.php
- Timestamp:
- 06/03/2013 12:45:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-options.php
r7099 r7139 494 494 */ 495 495 function bp_get_group_forums_root_id( $default = '0' ) { 496 return (int) apply_filters( 'bp_get_group_forums_root_id', (int) bp_get_option( '_b bp_group_forums_root_id', $default ) );496 return (int) apply_filters( 'bp_get_group_forums_root_id', (int) bp_get_option( '_bp_group_forums_root_id', $default ) ); 497 497 } 498 498 … … 508 508 */ 509 509 function bp_is_group_forums_active( $default = true ) { 510 return (bool) apply_filters( 'bp_is_group_forums_active', (bool) bp_get_option( '_b bp_enable_group_forums', $default ) );510 return (bool) apply_filters( 'bp_is_group_forums_active', (bool) bp_get_option( '_bp_enable_group_forums', $default ) ); 511 511 } 512 512
Note: See TracChangeset
for help on using the changeset viewer.