We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
When a new row is added on the front end I want to grab the data(preferably an array with the table headers as the key) that was entered somehow so I can do some work with it in PHP.
Is there a hook for this?
Example use case:
I want the stock keeping department to only enter their a unique User identifier which they will get on all packages they receive in the warehouse.
On their dashboard(stock keeping employees), they'll only have to enter this user identifier in the frontend table.
In PHP, I will grab that user identifier(using the Hook) and match it against another table so that I can grab some data automatically that the stock keeping department would otherwise have to enter themselves; which would make their work more efficient.
I had a look at your hooks page but I can't find the any that would allow this: https://wpdatatables.com/documentation/information-for-developers/hooks/
The closest i found was wpdatatables_after_frontent_edit_row( $formdata, $rowId, $tableId ) but this is for after editing a row and not for a new entry
Hi TheLoneDev,
Thank you for your interest in wpdatatables.
This hook wpdatatables_after_frontent_edit_row will be triggered for both cases when you edit or adding a new row in the table from front-end. Please note that data is already saved in database.
If you what to filter data before saving in database then yo can use filter wpdatatables_filter_formdata_before_save($formData, $tableId)
It is one of the new filters, so it will be updated in our documentation.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables