Is there a way from “inside” WordPress to detect it’s running in Playground?
-
I’m trying to make one of my plugins compatible with WordPress Playground, and as I’m troubleshooting some of the issues, I’m finding it would be helpful within the plugin to have a way to detect that it’s running in a WordPress Playground instance, rather than a traditional server.
I imagine there is a way to detect this (a function like
is_playground()is probably too much to ask for), but I’ve been skimming the documentation and haven’t found anything.Any suggestions?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Is there a way from “inside” WordPress to detect it’s running in Playground?’ is closed to new replies.