Redirects users to root domain before template loading. Useful when the WordPress installation is a sub-folder REST API and you want to restrict its public access. This behaviour won't affect requests to administration and other plugin's output (ex. JSON REST API plugin on /wp-json).