Created
March 26, 2019 21:09
-
-
Save KaineLabs/40f0e1f09e7b4349e291e5377443d2f7 to your computer and use it in GitHub Desktop.
Set Buddypress Avatars Dimensions.
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
<?php | |
// Define Buddypress Avatars Dimensions. | |
if ( ! defined( 'BP_AVATAR_THUMB_WIDTH' ) ) { | |
define( 'BP_AVATAR_THUMB_WIDTH', 50 ); | |
} | |
if ( ! defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) { | |
define( 'BP_AVATAR_THUMB_HEIGHT', 50 ); | |
} | |
if ( ! defined( 'BP_AVATAR_FULL_WIDTH' ) ) { | |
define( 'BP_AVATAR_FULL_WIDTH', 150 ); | |
} | |
if ( ! defined( 'BP_AVATAR_FULL_HEIGHT' ) ) { | |
define( 'BP_AVATAR_FULL_HEIGHT', 150 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment