Yes, new mothers need to pump milk and breastfeed regardless of if their job places them behind a desk or in the boardroom. So, in the same way that employers will move the person with a broken leg to the ground floor with all their tools to function at work, a newborn mother will need bespoke work conditions that facilitate her journey into motherhood with allowances for her to still do her job at her best.
Women in the workplace tend not to reveal a number of health issues for fears of being a complainer trying to escape their duties. Some women try to hide this health issue because the occurrence of endometriosis is often downplayed as “bad period cramps”. It’s easily understood why any woman would choose not to divulge this information.