Is it is possible to trigger the built-in maintenance mode of Bricks via functions.php
A client wants me to turn off their site during their non-business hours.
I normally can do this with a basic function that checks for the time and trigger the typical maintenance mode or play around with something to that effect.
But I want to accomplish this in Bricks. The easiest way I can think of right now (using Bricks) would be to write a function that would redirect all pages to a /subpage with a “store closed” template during said time period.
I would prefer triggering the built-in maintenance mode function of Bricks in this particular use case. Hope someone can point me in the right direction. Thanks!