Skip to content

Instantly share code, notes, and snippets.

@miclaus
Last active May 9, 2017 13:33
Show Gist options
  • Save miclaus/ca9fbe4f186552c388e2d92b50884c74 to your computer and use it in GitHub Desktop.
Save miclaus/ca9fbe4f186552c388e2d92b50884c74 to your computer and use it in GitHub Desktop.
Echoes the current user executing the PHP file
<?php
echo get_current_user();
exit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment