Forked from KaineLabs/yz-force-bp-covers-activation.php
Created
February 3, 2020 12:11
-
-
Save toluaddy/e1721496bb531b413ba44a826e323ace 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