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!
Hey gang!
I am looking at writing a custom code and am curious how to use the following hook:
wpdatatables_after_frontent_edit_row($formdata, $rowid, $tableid)
In specific I am curious how to set variables with the data being edited.
example:
$name = What would be the code to use to set as the name from the array key...
Cheers,
Allen
Hello Allen.
Please note that using hooks requires certain level of programming skills and included support refers only to advice.
You would need to find the wpdatatables_after_frontent_edit_row function inside the coding of the plugin, and see how it works. You will see there what comes up for formdata, rowid and tableid.
I don't believe you'll be able to set $name here, unless in a function, but again that falls under custom work, which is not included in the support of the plugin.
Best regards.
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
can you tell me where I can find wpdatatables_after_frontent_edit_row function inside the plugin?
More or less what I want to do is
$email = $formdata(what goes here so I can get the email address from the formdata that was submitted when the row was edited);
I am writing a function that sends this data elsewhere.
Hi again Allen.
The wpdatatables_after_frontent_edit_row can be found in ../wp-content/plugins/wpdatatables/controllers/wdt_ajax_actions.php
As is explained in documentation for this action:
$formdata is the array of keys and values for editing
Structure of this parameter depends on data in your table so you have to debug it and see what is returned in array of keys and values.
You can create a custom PHP script that would tell if you if the code is firing when you configure it. One of our users called the function after the user made an update to the data in the table with this:
Where d.php is the custom script I was talking about. Eventually they got it working with:
I hope this helps.
Best regards.
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
hey Aleksandar!
I got it working... I called the hook and had it write to a txt file. Then I looked at what was put out. What I was looking for was $formdata['column_name'] so I could set that as a variable from the array. Works perfect and has saved a ton of dev time.
Hey Allen!
Great news!
Thanks for letting me know. I will definitely note that, it may be of use in the future!
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Best regards.
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