-
-
Save RupW/fc78981c300b6e4d1e95c0342be5b299 to your computer and use it in GitHub Desktop.
Test for https://wordpress.stackexchange.com/q/375930 which works fine for me
This file contains 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 | |
add_action('plugins_loaded', 'show'); | |
function show() { | |
$user = get_user_by('ID', 1); | |
error_log(print_r($user,true)); | |
return $user; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment