Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

get_current_user

Description

The get_current_user of Options / Information for PHP gets the name of the owner of the current PHP script.

Syntax

get_current_user(): string

Return

Returns the username as a string.

Examples

1

<?

$return = get_current_user();

echo $return;

?>
SYSTEM
HomeMenu