Which is the best hook to add a custom reputation event?

3.48K viewsCore
0

I have currently added a custom reputation event using the ap_register_reputation_event() function.

Right now I have called the above function in the ‘init’ hook. callback for the hook is placed in my plugin.

Is it fine or is there any better hook where I can register the custom reputation event?

1

init hook works fine as the plugin returns the added events on the plugin settings page.