-
-
Save lkoudal/0f999d2d2d4ab0c1ca72add25d23a015 to your computer and use it in GitHub Desktop.
Detect WP Playground
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( 'PHP.wasm' === $_SERVER['SERVER_SOFTWARE'] && 'playground.wordpress.net' === $_SERVER['HTTP_HOST'] ) { | |
// inside playground.wordpress.net | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment