Created
February 23, 2015 10:38
-
-
Save BoweFrankema/e1ac43d6385fcbc36f48 to your computer and use it in GitHub Desktop.
Default BuddyPress Avatar Settings
This file contains hidden or 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 | |
/** | |
* Change Default Avatar Size | |
*/ | |
if ( !defined( 'BP_AVATAR_THUMB_WIDTH' ) ) { | |
define( 'BP_AVATAR_THUMB_WIDTH', 80 ); | |
} | |
if ( !defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) { | |
define( 'BP_AVATAR_THUMB_HEIGHT', 80 ); | |
} | |
if ( !defined( 'BP_AVATAR_FULL_WIDTH' ) ) { | |
define( 'BP_AVATAR_FULL_WIDTH', 400 ); | |
} | |
if ( !defined( 'BP_AVATAR_FULL_HEIGHT' ) ) { | |
define( 'BP_AVATAR_FULL_HEIGHT', 400 ); | |
} | |
if ( !defined( 'BP_AVATAR_ORIGINAL_MAX_WIDTH' ) ) { | |
define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 800 ); | |
} | |
if ( !defined( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE' ) ) { | |
define ( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', 5120000 ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment