I'm working on a clients purchased product and don't have their registration information. I've written a function to hook into the action "wpdatatables_after_frontent_edit_row". Yes, it's spelled incorrectly in your code and mine. There isn't even anything in the function. I'm just returning true. Still I keep getting an error even though the record successfully saves. If I remove my code, no error so it's definitely this code that's the problem. I've tried many variations including using the action name as the function name but always get the same error.
Here is the code added to my functions.php file:
function wpdatatables_after_save($formdata, $rowId, $tableId) {
I'm working on a clients purchased product and don't have their registration information. I've written a function to hook into the action "wpdatatables_after_frontent_edit_row". Yes, it's spelled incorrectly in your code and mine. There isn't even anything in the function. I'm just returning true. Still I keep getting an error even though the record successfully saves. If I remove my code, no error so it's definitely this code that's the problem. I've tried many variations including using the action name as the function name but always get the same error.
Here is the code added to my functions.php file:
function wpdatatables_after_save($formdata, $rowId, $tableId) {
return true;
}
add_action( 'wpdatatables_after_frontent_edit_row', 'wpdatatables_after_save' );
Here is the error:
Error: There was an error trying to insert a new row.
Hi Pat
I saw your other ticket, so this one will be closed. I'll get back to you on the other ticket as soon as possible.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables