@chavodbharat
Active 2 years, 5 months ago
-
Henry Wright replied to the topic Problem when i upload avatar in registration page. in the forum Third Party Plugins 7 years, 9 months ago
No need to edit the core file. The
bp_attachments_current_user_can
filter can be used here.add_filter( 'bp_attachments_current_user_can', function( $can, $capability ) {
[Read more]
if ( 'edit_avatar' !== $capability ) {
return $can;
}
// This will let all users upload an avatar (not just logged in members).
$can =…