I hope you are doing well!
Does wpDataTables have the ability to call 'Actions'? I don't mean to other plug-ins, I mean from within THIS plug-in, could I append, edit, or delete other tables or records with a single call to action.
Specifically for me, I am trying to have users be able to create orders that will each contain multiple records, and then an inventory personnel be able to mark the whole order complete. This would entail some element of applying CRUD to the 'foreign key' table, or perhaps looping through the current filtered table and editing multiple records as "complete" based on the 'foreign key'. Maybe there's another way, but regardless, I think I need to be able to edit more than the active record at once. Is that possible?
Hi rsremole,Thank you for the inquiry.
wpDataTables provides actions and filters for developers if they want to customize behavior of the plugin. You can take a look at the list of all available actions and filters at these links:
You can try our sandbox site: Front-end & Back-end - you can find a fully functional version there to try out all plugin features.
Please help us make Amelia even better by answering 10 quick questions about your user experience. It will only take 2 minutes for you, but will mean a lot for us to understand our customers better! https://www.surveymonkey.com/r/87ZGC5R
Kind Regards,Milos Timoticmilos.email@example.com
I did do some basic research before posting. What wpDataTables calls "Actions", I would call "Triggers" to execute an action. Regardless, that is a great feature!
So, I think you are saying that there is not a way to do what I was asking about except to write PHP in a separate Add-In and call it from one of your Actions. Is that correct?
"So, I think you are saying that there is not a way to do what I was asking about except to write PHP in a separate Add-In and call it from one of your Actions. Is that correct?"
- Yes but you don't have to create a new add-on, than you can create the functions in functions.php file of your WordPress.
Thank you! That was very helpful!