Change logging in WordPress

By: tanis roberts | Asked: 10/20/2022
ForumsCategory: General questionsChange logging in WordPress
tanis robertstanis roberts asked 1 year ago
Our client uses Formidable forms for their site, and has intermittent issues that all seem to defy the logic in place when we start investigating.

Is there any way we can enable change logs for forms, without having to build it manually through the back-end? I would ideally like to be able to see the id of the user making the changes, the timestamp, the id of the form that was changed and the details of the change itself. This would ideally be viewable through the WP dashboard, with access restricted to specific users / user types.

Thanks in advance.

Question Tags:
2 Answers
Victor Font answered 1 year ago
What you’re asking is feasible but can’t be done without without custom code. All of Formidable’s entry data is stored in two tables. There’s a header record and each field has its own row in the metas table. This follows the same principles as the WordPress post and post metas tables. 

You can create your own flat audit table for each one of your forms then use Formidable hooks to populate the revision data as updates are created. 
Bobby Clapp answered 1 year ago

Stream is a good tool for simple logs:

I don't know that it is compatible with Formidable Forms at such depth, but maybe another developer here would be willing to write a hook for Formidable Forms.

Victor Font replied 1 year ago

This is a great find Bobby! They provide a plugin shell to create a custom connector.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community