As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
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