@HHManager I created this snippet for you. You can use the MainWP Code Snippets extension to return any data that you may need if you know the option name it is stored in the DB with. ( This won’t run automatically, but usually isn’t something you need to watch on the regular )
If you are having issues with users clicking that option you could hide it in the WP-UI.
Or use update_option( 'blog_public', '0' ); instead as an “Executable” snippet & it will auto set that setting to NO any time the admin is accessed.