Display Full Name instead of Current Username

Hi!
On users table I have:

  • Name
  • Username
  • Password

On custom template I’ve used to call the current username with, for example:

Hello,<?php echo (CurrentUserName());?>!


Since now the username is the email because of google login, is there a way to call the Name instead of the Username?
Thanks in advance.

Try:

Hello,<?php echo CurrentUserInfo("Name"); ?>!

Thank you, it worked