I don’t use bbPress myself, so I did not test it with bbPress.
Thread Starter
Chuckie
(@ajtruckle)
So you are not willing to add support for a major plugin to make them compatible?
Do you at least provide a hook for us to extend its capabilities?
Thank you.
Sadly, I don’t have the time to do so.
There are also no hooks available in the plugin, only filters as I can’t find a good way to do it. Maybe easier to just clone the plugin, modify it to be specified to BBPRess
-
This reply was modified 6 years, 3 months ago by
Lester Chan.
Thread Starter
Chuckie
(@ajtruckle)
For the Revisions the following code changes are required at line 557:
foreach ( $query as $id ) {
// wp_delete_post_revision( (int) $id );
$post_parent_id = wp_get_post_parent_id ($id);
$type = get_post_type ($post_parent_id);
if ($type != 'topic' && $type != 'reply' )
wp_delete_post_revision( (int) $id );
}
This will not delete the revision if it is associated with a forum “topic” or “reply”.