Created
February 7, 2018 00:13
-
-
Save KaineLabs/947e9c2bc06e45e9152c41c6697a2374 to your computer and use it in GitHub Desktop.
Force Buddypress Covers Activation.
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
/** | |
* Force Buddypress Covers Activation. | |
*/ | |
function youzer_activate_buddypress_covers() { | |
return true; | |
} | |
add_filter( 'bp_is_profile_cover_image_active', 'youzer_activate_buddypress_covers', 999 ); | |
add_filter( 'bp_is_groups_cover_image_active', 'youzer_activate_buddypress_covers', 999 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment