Notifications
Clear all

[Closed] Feature Suggestion

2 Posts
2 Users
0 Reactions
757 Views
Posts: 22
Topic starter
(@etrimon)
Eminent Member
Joined: 5 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!

1 Reply
Robert
Posts: 10549
Admin
(@robert)
Support Team
Joined: 8 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.