get current user name wordpressdpress code example
Example: wordpress get username
$current_user = wp_get_current_user();
echo($current_user->user_login);
$current_user = wp_get_current_user();
echo($current_user->user_login);