In my case, logged-in users can change all rows in the frontend. I would like to know WHO CHANGED a row. I think, for this, I need a new column "updated by". I can only use placeholders in the form for new lines.... so I guess I need the action: wpdatatables_after_frontent_edit_row ($ formdata, $ rowId, $ tableId) But I have no idea how to use this in php! Can you give me an example?
Unfortunately it is not possible to see a detailed change log for every change made in the table. If you had Users see only their own data you could enable the Show all rows in back-end option from the Editing tab of the table to see all entries in the back-end. You can also edit the table but if you edit the table as an administrator your User ID will be saved when you make the change so make sure to turn off the Users see and edit only own data option before editing.
Hello!
Nice plugin!!!!
In my case, logged-in users can change all rows in the frontend. I would like to know WHO CHANGED a row.
I think, for this, I need a new column "updated by". I can only use placeholders in the form for new lines.... so I guess I need the action:
wpdatatables_after_frontent_edit_row ($ formdata, $ rowId, $ tableId)
But I have no idea how to use this in php!
Can you give me an example?
Or is there an other way?
Hi Stephan
Thank you for reaching out to us.
Unfortunately it is not possible to see a detailed change log for every change made in the table. If you had Users see only their own data you could enable the Show all rows in back-end option from the Editing tab of the table to see all entries in the back-end. You can also edit the table but if you edit the table as an administrator your User ID will be saved when you make the change so make sure to turn off the Users see and edit only own data option before editing.