I don’t think Freud’s seminal work has ever been the least bit discredited. The psychodynamics cannot be proven, and since the advent of good CBT are no longer really pertinent, except in New York, at the Psychoanalytic Institute, and a few other places, mostly for reasons of academic politics.
But no one doubts the existence of unconscious processes, no one doubts the phenomena of transference and counter-transference, I think the phenomena of resistance, displacement, projection, etc. are still widely accepted except in the strict Behaviorist community which itself has indeed been discredited. No one raises a child by Skinner’s principles any more that I know of.