Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Global Variable – Username not ID


belogical
Participant

@belogical

I ended up using this, which I assume is a WP variable in case anyone can use it.

global $current_user;

$username = $current_user->user_login;

Skip to toolbar