Php 在BuddyPress中添加额外的头像大小

Php 在BuddyPress中添加额外的头像大小,php,wordpress,buddypress,Php,Wordpress,Buddypress,我知道,我可以将以下内容添加到我的bp_custom.php文件中,以更改头像的裁剪大小 <?php if ( !defined( 'BP_AVATAR_THUMB_WIDTH' ) ) define( 'BP_AVATAR_THUMB_WIDTH', 50 ); //change this with your desired thumb width if ( !defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) define( 'BP_AVATAR_THUMB

我知道,我可以将以下内容添加到我的bp_custom.php文件中,以更改头像的裁剪大小

<?php

if ( !defined( 'BP_AVATAR_THUMB_WIDTH' ) )
define( 'BP_AVATAR_THUMB_WIDTH', 50 ); //change this with your desired thumb width

if ( !defined( 'BP_AVATAR_THUMB_HEIGHT' ) )
define( 'BP_AVATAR_THUMB_HEIGHT', 50 ); //change this with your desired thumb height

if ( !defined( 'BP_AVATAR_FULL_WIDTH' ) )
define( 'BP_AVATAR_FULL_WIDTH', 260 ); //change this with your desired full size,weel I changed it to 260 <img src="http://buddydev.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley">

if ( !defined( 'BP_AVATAR_FULL_HEIGHT' ) )
define( 'BP_AVATAR_FULL_HEIGHT', 260 ); //change this to default height for full avatar

?>

然而,我需要实际添加第三个选项,名为“tiny”,高度/宽度为15px,同时保持标准thumb和完整选项不变

我该怎么办