Changeset 6321 for trunk/src/includes/core/options.php
- Timestamp:
- 02/26/2017 07:25:15 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/options.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/options.php
r6320 r6321 232 232 233 233 /** 234 * Checks if engagements feature is enabled. 235 * 236 * @since 2.6.0 bbPress (r6320) 237 * 238 * @param $default bool Optional.Default value true 239 * @uses get_option() To get the engagements option 240 * @return bool Is engagements enabled or not 241 */ 242 function bbp_is_engagements_active( $default = 1 ) { 243 return (bool) apply_filters( 'bbp_is_engagements_active', (bool) get_option( '_bbp_enable_engagements', $default ) ); 244 } 245 246 /** 234 247 * Are topic tags allowed 235 248 *
Note: See TracChangeset
for help on using the changeset viewer.