I think the complainant is generally notified in and around the time they come to court to testify. If the case is resolved before there's any testimony given, the complainant isn't notified of the publication ban. I speak to that on the basis of my experience representing complainants, but also in my own case. I was never informed whether or not there was a publication ban in my own case.
On October 17th, 2023. See this statement in context.