C++ function used as blueprint node... for control rig?

I know I can do this using blueprint function library for actor blueprints and my node appears and behaves as expected.

But for control rig my node doesn’t appear there, how can I code a function in c++, and have it appear in control rig blue print nodes?