• Resolved victormarvin666

    (@victormarvin666)


    Hello Maintenance support!

    Thank you for your great plugin

    Can you please help me to auto enable maintenance mode at specific time?

    or cron php code to enable maintenance mode

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    We don’t have an option for that but programatically it should be something like this:

    $settings = get_option('maintenance_options');
    $settings['state']=1;
    update_option('maintenance_options', $options);

Viewing 1 replies (of 1 total)
  • The topic ‘auto enable maintenance mode’ is closed to new replies.