Changeset 4098 for branches/plugin/bbp-includes/bbp-core-options.php
- Timestamp:
- 07/20/2012 10:53:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-core-options.php
r4067 r4098 34 34 '_bbp_enable_favorites' => 1, // Favorites 35 35 '_bbp_enable_subscriptions' => 1, // Subscriptions 36 '_bbp_allow_topic_tags' => 1, // Topic Tags 36 37 '_bbp_allow_anonymous' => 0, // Allow anonymous posting 37 38 '_bbp_allow_global_access' => 0, // Users from all sites can post … … 203 204 function bbp_is_subscriptions_active( $default = 1 ) { 204 205 return (bool) apply_filters( 'bbp_is_subscriptions_active', (bool) get_option( '_bbp_enable_subscriptions', $default ) ); 206 } 207 208 /** 209 * Are topic tags allowed 210 * 211 * @since bbPress (r4097) 212 * @param $default bool Optional. Default value true 213 * @uses get_option() To get the allow tags 214 * @return bool Are tags allowed? 215 */ 216 function bbp_allow_topic_tags( $default = 1 ) { 217 return (bool) apply_filters( 'bbp_allow_topic_tags', (bool) get_option( '_bbp_allow_topic_tags', $default ) ); 205 218 } 206 219
Note: See TracChangeset
for help on using the changeset viewer.