-
-
Save vovafeldman/2184da6f70ba87e01050b6a98e0a9c03 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