Title: Internal: Add WPCOM_VIP_SITE_ADMIN_ONLY_MAINTENANCE constant
Author: WordPress VIP Documentation
Published: May 25, 2021
Last modified: August 5, 2025

---

 1. [Changelog](https://docs.wpvip.com/changelog/)
 2. [VIP MU plugins [Production]](https://docs.wpvip.com/changelog/vip-mu-plugins-production/)
 3. Internal: Add WPCOM_VIP_SITE_ADMIN_ONLY_MAINTENANCE constant

# Internal: Add WPCOM_VIP_SITE_ADMIN_ONLY_MAINTENANCE constant

---

 25 May 2021

21:57:15 GMT+0000

 [ VIP MU plugins [Production] ](https://docs.wpvip.com/changelog/vip-mu-plugins-production/)

 [ Permalink  ](https://docs.wpvip.com/changelog/vip-mu-plugins-production/internal-add-wpcom_vip_site_admin_only_maintenance-constant/)

Added a constant, `WPCOM_VIP_SITE_ADMIN_ONLY_MAINTENANCE`, that can be used to put
a site into maintenance mode without impacting the front-end. The idea being to 
prevent database writes(e.g.: post creation) in wp-admin from happening at an inopportune
time during periods of maintenance while still allowing the site to operate normally.

[https://github.com/Automattic/vip-go-mu-plugins/pull/2152](https://github.com/Automattic/vip-go-mu-plugins/pull/2152)