How can I call a Blueprint function inside C++ code?

I think the C++ tutorial on youtube by epic does something like this so check it out.