Function to register a provider callback
The id of the Tooltip element
The name of the event to register the callback for
The function invoked when the event fires
Return Message Success or message of error info if it's the case.
Function to register a provider callback