Can you check if https is enabled on frontend from admin

by Ivan Čurdinjaković   Last Updated September 13, 2017 13:08 PM

Writing a plugin. I would like to remove an option in admin interface if the frontend is not served over https. Is there a reliable way to check frontend schema?

Related Questions

Cant enter admin page with SSL

Updated December 13, 2017 10:08 AM

Disable SSL / HTTPS for wordpress

Updated February 15, 2017 14:03 PM

How to disable https from wordpress site?

Updated April 21, 2017 21:08 PM