Anyone know how to get the username of the profile you're viewing in wp?
I'm doing some custom php for a do_shortcode
This code will run from the profile.php page..
I need to find out the username of said profile.
Ie.
www.website.com/profile/admin
I need to find out what the profile username is - admin in this instance
Any ideas?