get_current_user
get_current_user
get_current_user
- It gets the name of the owner of the current PHP script .
Syntax:
string get_current_user ( )
It returns the name of the owner of the current PHP script.
Example:
echo $currentuser = get_current_user();
Now The result in $currentuser is owner of the current PHP Script.
