Changeset 7569 for trunk/bp-core/bp-core-functions.php
- Timestamp:
- 11/13/2013 02:47:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r7566 r7569 531 531 function bp_core_add_illegal_names() { 532 532 update_site_option( 'illegal_names', get_site_option( 'illegal_names' ), array() ); 533 } 534 535 /** 536 * Determine whether BuddyPress should register the bp-themes directory. 537 * 538 * @since BuddyPress (1.9.0) 539 * 540 * @return bool True if bp-themes should be registered, false otherwise. 541 */ 542 function bp_do_register_theme_directory() { 543 $register = 'bp-default' === get_stylesheet() || 'bp-default' === get_template(); 544 return apply_filters( 'bp_do_register_theme_directory', $register ); 533 545 } 534 546
Note: See TracChangeset
for help on using the changeset viewer.