Changeset 2812 for branches/plugin/bbp-includes/bbp-options.php
- Timestamp:
- 01/17/2011 06:57:34 PM (15 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-includes/bbp-options.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-options.php
r2790 r2812 24 24 $options = array ( 25 25 26 /** S ETTINGS**********************************************************/26 /** Settings **********************************************************/ 27 27 28 28 // Lock post editing after 5 minutes … … 47 47 '_bbp_replies_per_page' => '15', 48 48 49 /** S LUGS*************************************************************/49 /** Slugs *************************************************************/ 50 50 51 51 // Root slug … … 94 94 */ 95 95 function bbp_is_favorites_active() { 96 return (bool) get_option( '_bbp_enable_favorites', true);96 return apply_filters( 'bbp_is_favorites_active', (bool) get_option( '_bbp_enable_favorites', true ) ); 97 97 } 98 98 … … 106 106 */ 107 107 function bbp_is_subscriptions_active() { 108 return (bool) get_option( '_bbp_enable_subscriptions');108 return apply_filters( 'bbp_is_subscriptions_active', (bool) get_option( '_bbp_enable_subscriptions' ) ); 109 109 } 110 110
Note: See TracChangeset
for help on using the changeset viewer.