Home Forums ACF PRO Change the label for User Field Reply To: Change the label for User Field

  • Using this filter you can alter the value that’s displayed in the user field, I don’t think these are documented anywhere but this is the code where they are applied in ACF

    $result = apply_filters("acf/fields/user/result", $result, $user, $field, $post_id);
    $result = apply_filters("acf/fields/user/result/name={$field['_name']}", $result, $user, $field, $post_id);
    $result = apply_filters("acf/fields/user/result/key={$field['key']}", $result, $user, $field, $post_id);

    These filters would work just like this filter