Working on adding a maintenance toggle into FluentAuth
I have with ChatGTP been working on adding a code snippet: maintenance toggle under Settings -> Other Settings to where one toggles on or off maintenance mode to redirect the visitor to the login page. It is not working. As it seems that FluentAuth will not let me add a new tab or extend the Other Settings area of the plugin.
I have though been able to add a new Maintenance Mode submenu item into the WP Settings submenu area. Which when on redirects the none logged in visitor to the login page and will see the FluentAuth login screen I have setup earlier. Perhaps I will need to use this instead of messing with the FluentAuth API through ChatGPT...
I am thinking I will though add a new tutorial for my WP tutorial site in relation on how to create a new maintenance mode using a code snippet.
UPDATE: I added this tutorial.
https://easywebdesigntutorials.com/how-to-add-a-custom-maintenance-mode-screen-in-wordpress/