Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

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

3 Posts
2 Users
1 Reactions
954 Views
Posts: 8
 Hein
Topic starter
(@hein)
Active Member
Joined: 6 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: 1860
Moderator
(@alvina)
Member
Joined: 6 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: 6 years ago
Posted by: @alvina

This will be added

You make me happy!