Created
September 8, 2019 13:45
-
-
Save someguy9/328fcc4a2680209afd2550da5f12ccb6 to your computer and use it in GitHub Desktop.
Display current user ID in WordPress
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 | |
echo 'The current logged in user ID is: '.get_current_user_id(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment