Answers for "wp get_current_user details email username"

PHP
0

wordpress get username

$current_user = wp_get_current_user();
echo($current_user->user_login);
Posted by: Guest on January-29-2021
0

get current user email wordpress

global $current_user;
get_currentuserinfo();
echo $current_user->user_email;
Posted by: Guest on June-17-2021

Code answers related to "wp get_current_user details email username"

Browse Popular Code Answers by Language