Returns the user ID associated with the token or false if this token is not associated.
public get_user_id ( string $context = 'view' ) : integer | ||
$context | string | |
Результат | integer | User ID if this token is associated with a user or 0 if no user is associated |