All of my local hospitals have done this including the one I work at. I think it's come from NHS England or PHE since they're all following the same rules for visitors.The hospital I work at have stopped ALL visitors this evening.
I'm due to give birth in a few weeks. The hospital I'm giving birth at is only allowing birthing partners on the delivery suite so I'm hoping for a straight forward birth so I can go home ASAP. If I am kept in on the ward with the baby no visitors are allowed.