Last active
December 21, 2015 20:59
-
-
Save messaoudi-mounir/6365021 to your computer and use it in GitHub Desktop.
Remove custom image header if is activity component or is member activity page or is group activity page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'after_setup_theme','bp_remove_custom_image_header', 100 ); | |
function bp_remove_custom_image_header() { | |
if ( bp_is_user_activity() || bp_is_activity_component() || bp_is_group_home() ) { | |
//remove_custom_background(); | |
remove_custom_image_header(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment