By $user_ID I can find out the id of the currently logged in user. But how can I found out the username of the blog owner?
Thank you in advance.
James
By $user_ID I can find out the id of the currently logged in user. But how can I found out the username of the blog owner?
Thank you in advance.
James
There's no "easy" one line to do it as a blog may have more than one "owner" or admin. Take a look at the first 120 lines or so of wp-admin/users.php to see how wp does it.
We've discussed this previously.