Link multiple component object references to single function pin

Create a custom Niagara component

inside of the new bp add the intended function

Now in your actor add you custom Niagara component and you can call the same function on all components that derive from this custom component (hooking them up to the functions target pin)