Missing GetCurrentLevelName function? ver.4.7

Hi guys,
I have several levels and when i finish one of them a menu appears with the possibility to quit ,restart or next.
When i click restart i am calling a Widget and i want to pass to it the current level stored in a variable, because if it is hardcoded i will have to make a menu for each level , and manually pass level name.
In the Unreal Documentation i found that:

but i don’t have that function (i am using 4.7) have they removed it , or they have added it in newer version?