Changeset 565 for trunk/bp-core.php
- Timestamp:
- 11/21/2008 09:01:26 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-core.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r540 r565 1092 1092 } 1093 1093 1094 function bp_core_get_member_themes() { 1095 add_filter( 'theme_root', 'bp_core_set_member_theme_root' ); 1096 $themes = get_themes(); 1097 1098 if ( $themes ) { 1099 foreach ( $themes as $name => $values ) { 1100 $member_themes[] = array( 1101 'name' => $name, 1102 'template' => $values['Template'] 1103 ); 1104 } 1105 } 1106 1107 return $member_themes; 1108 } 1109 1110 function bp_core_set_member_theme_root() { 1111 return WP_CONTENT_DIR . "/member-themes"; 1112 } 1113 1114 function bp_core_set_member_theme_root_uri() { 1115 return WP_CONTENT_URL . '/member-themes'; 1116 } 1117 1118 1094 1119 /** 1095 1120 * bp_core_email_from_name_filter()
Note: See TracChangeset
for help on using the changeset viewer.