Capture OLD values before update/delete
-
Hi,
Thank you for this great plugin.
How can I get the old value of the update query.Basically I have a custom function like this
add_action(‘dbte_row_updated’, ‘my_seat_row_upserted’, 10, 4);
add_action(‘dbte_row_inserted’, ‘my_seat_row_upserted’, 10, 4);
function my_seat_row_upserted($currentTable, $values, $columns, $indexedModified) …Now I want to keep a record the old values but there is no way to see the old values in my case. The $values variable shows the new values.
Please do let me know how I can achieve this?
Regards,
Karan
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Capture OLD values before update/delete’ is closed to new replies.