Changeset 2746
- Timestamp:
- 02/19/2010 11:12:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-themes/bp-default/functions.php
r2744 r2746 128 128 /**** 129 129 * Custom header image support. You can remove this entirely in a child theme by adding this line 130 * to your functions.php: remove_action( 'init', 'bp_dtheme_add_custom_header_support');130 * to your functions.php: define( 'BP_DTHEME_DISABLE_CUSTOM_HEADER', true ); 131 131 */ 132 132 function bp_dtheme_add_custom_header_support() { … … 200 200 add_custom_image_header( 'bp_dtheme_header_style', 'bp_dtheme_admin_header_style' ); 201 201 } 202 add_action( 'init', 'bp_dtheme_add_custom_header_support' ); 202 if ( !defined( 'BP_DTHEME_DISABLE_CUSTOM_HEADER' ) ) 203 add_action( 'init', 'bp_dtheme_add_custom_header_support' ); 203 204 204 205 /* Show a notice when the theme is activated - workaround by Ozh (http://old.nabble.com/Activation-hook-exist-for-themes--td25211004.html) */
Note: See TracChangeset
for help on using the changeset viewer.