I suspect that it was up to the individual vicar.
Pre 1837 when everyone but Jews and Quakers was required by law to marry in the CoE there would not have been such a requirement - RC or non-conformists, for instance, would not have been baptised into the CoE before marriage.
Colin