A way to check if wordpress installation is self-hosted or hosted via wordpress.com?

Question

I’m developing this plugin that needs a way to check the status of the WordPress installation
What is the most reliable way to determine that?

Any $_SERVER variables or anything that could differentiate between the two?

0
random_coder_person 1 month 2021-10-28T17:27:56-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse