Notifications
Clear all

Feature Suggestion

2 Posts
2 Users
0 Likes
352 Views
Etrimon
Posts: 22
Topic starter
(@etrimon)
Eminent Member
Joined: 4 years ago

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!

Topic Tags
1 Reply
Robert
Posts: 9966
Admin
(@robert)
Support Team
Joined: 7 years ago

Hi @etrimon,

Sure, we've already added more than 200 hooks in wpForo. We'll add this one in the next version as well.

Reply