I managed to get it to work this far:
function my_acf_prepare_field_wordpress( $field ) {
$current_user = wp_get_current_user();
if( $current_user->user_login == "Username" ) {
if( $field['value'] ) {
$field['disabled'] = true;
}
}
return $field;
}
add_filter('acf/prepare_field/name=pakket-of-dienst', 'my_acf_prepare_field_wordpress');
The whole field is disabled with this function but I only need to disable a specific option of this select field.
Is this possible, if yes, could anybody point me in the right direction?