A short Tutorial on how to add a C++ UFUNCTION to an existing Blueprint project. The C++ function gets the Project Version number and displays it on a Widget.
https://dev.epicgames.com/community/learning/tutorials/bXzn/unreal-engine-how-to-add-c-function-to-blueprint