How to use ACF Image field as WordPress user profile avatar? add_filter(‘get_avatar’, ‘lb_acf_profile_avatar’, 10, 5); function lb_acf_profile_avatar( $avatar, $id_or_email, $size, $default, $alt ) { $field_name = ‘lb_local_avatar’; $user = ”; // Get user by id or email if ( is_numeric( $id_or_email ) ) { $id = (int) $id_or_email; $user = get_user_by( ‘id’ , $id ); […]