Changeset 6451
- Timestamp:
- 10/22/2012 08:04:57 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-theme-compatibility.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-theme-compatibility.php
r6404 r6451 174 174 function bp_get_theme_compat_url() { 175 175 return apply_filters( 'bp_get_theme_compat_url', buddypress()->theme_compat->theme->url ); 176 }177 178 /**179 * See whether the current theme is good ol' bp-default.180 *181 * @since BuddyPress (1.7)182 * @uses get_stylesheet()183 * @return bool184 */185 function bp_is_theme_bp_default() {186 if ( get_stylesheet() == 'bp-default' ) {187 $retval = true;188 } else {189 $retval = false;190 }191 192 return $retval;193 176 } 194 177
Note: See TracChangeset
for help on using the changeset viewer.