Notifications
Clear all

wpForo 1.x.x [Closed] Please add old values for edit filters

3 Posts
2 Users
1 Reactions
564 Views
Posts: 8
 Hein
Topic starter
(@hein)
Active Member
Joined: 4 years ago

I would like to do something, after a topic was approved by using the WP filter "wpforo_edit_topic_data_filter". Would be great to know, what was changed inside that filter. To know this it would be easier, if the old values would be transmitted to the filter too. Can you add "$topic" to "apply_filters" as a third argument?

If yes, maybe also "$post" to the "wpforo_edit_post_data_filter" filter?

This should not bother existing handlings of that filter and should not force an additional DB request. So no disadvantages by this changes.

2 Replies
Alvina
Posts: 1867
Moderator
(@alvina)
Member
Joined: 5 years ago

Hi @hein,

Yes, you are right.

This will be added in the near future releases.

Posts: 8
 Hein
Topic starter
(@hein)
Active Member
Joined: 4 years ago
Posted by: @alvina

This will be added

You make me happy!