C++ cannot get FUNCTION to show up in blueprint in editor

You don’t need to restart Unreal Engine!

The thing is the compile in VisualStudio doesn’t affect the Blueprints. You need to press compile in the engine, not in the visual studio.