May 26, 2021 8:39 am
It is more a suggestion to make developers live a little bit easier.
Please, add more hooks (action, filters) to different functions:
Example: Moderator bans a user -> action for WPF()->member->ban($userid)
function ban($userid) results in WPF()->notice->add('User successfully banned from wpforo', 'success');
So adding an action like do_action('user_banned_success', $userid); would be really extremly helpful 🙂
And also adding filters to be able to modify different outputs. 🙂
Thank you very much for your amazing work!
Best wishes!
1 Reply
May 29, 2021 6:30 am
Hi @etrimon,
Sure, we've already added more than 200 hooks in wpForo. We'll add this one in the next version as well.