It is common for photographers to stay for the majority of the wedding. It includes the ceremony, formal portraits, and reception. But it is best to discuss this with the photographer in advance.