How to detect Maintance page is displayed
-
I have several php scripts running on my sites that detect what type of web page is shown (or what loop is in use).
When the Maintenance page is displayed the wp_query is empty and is_login() (new since WP 6.1) is not set.
Is there a way I can detect that the Maintenance page is displayed?The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.