跳至工具栏

更换buddypress头像默认上传文件夹

将下面一段代码放到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);

Published in

Responses

Comments are closed.