将下面一段代码放到functions.php中。
function buddylab_bp_avtar_upload_path_correct($path){
$path = ‘你的地址’;
return $path;
}
add_filter(‘bp_core_avatar_upload_path’,’buddylab_bp_avtar_upload_path_correct’, 1);
将下面一段代码放到functions.php中。
function buddylab_bp_avtar_upload_path_correct($path){
$path = ‘你的地址’;
return $path;
}
add_filter(‘bp_core_avatar_upload_path’,’buddylab_bp_avtar_upload_path_correct’, 1);