Changeset 6285 for trunk/bp-core/bp-core-options.php
- Timestamp:
- 09/03/2012 12:33:13 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-options.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-options.php
r6183 r6285 61 61 // Allow comments on blog and forum activity items 62 62 'bp-disable-blogforum-comments' => true, 63 64 // The ID for the current theme package. 65 '_bp_theme_package_id' => 'legacy', 63 66 64 67 /** Groups ************************************************************/ … … 522 525 } 523 526 524 ?> 527 /** 528 * Get the current theme package ID 529 * 530 * @since BuddyPress (1.7) 531 * 532 * @param $default string Optional. Default value 'default' 533 * @uses get_option() To get the subtheme option 534 * @return string ID of the subtheme 535 */ 536 function bp_get_theme_package_id( $default = 'legacy' ) { 537 return apply_filters( 'bp_get_theme_package_id', get_option( '_bp_theme_package_id', $default ) ); 538 }
Note: See TracChangeset
for help on using the changeset viewer.