Women use this as an issue to keep fathers away from “their” children and that is wrong- they could pump milk while the child is away and store it... but they should not use it as an excuse to prevent a father from seeing a child.
My idiot ex tried to do that, until I told the judge she had just bought herself new breasts (against my wishes) and was unable to breastfeed- he ordered her to go to a court appointed nurse to determine if she was able to breastfeed and she dropped the claim.
Your ex shoulda been charged with perjury and contempt.