Comments Wojtek started the conversationJune 18, 2021 at 1:48pmHi. Is there a way to connect wpdatatables to any 3rd party to get en email notification every time the new data is pulled from an external mysql into table?Thanks!Wojtek repliedJune 20, 2021 at 11:34amWould it be possible with zappier somehow? Does wpdatatables can be connected to zappier? 2,572Aleksandar repliedJune 21, 2021 at 6:58amHello WojtekI am sorry to disappoint you, but unfortunately, something like this is not possible with the plugin's built-in features.You can try using our filters or hooks to create your own custom solution for this.For sending emails, you can use this: https://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/wordpress2/sending-e-mail-in-wordpress#:~:text=To%20send%20an%20e%2Dmail,authentication%20settings%20you%20defined%20above And to take values after Apply is hit, there's this hook: wpdatatables_after_frontent_edit_row( $formdata, $rowId, $tableId ) This action is executed after editing action is applied. $formdata is the array of keys and values for editing. $rowId is the ID field of the row in MySQL table that was edited. $tableId is the table identifier from the MySQL plugin table (wp_wpdatatables). For example: function sendEmailAfterEdit( $formdata, $rowId, $tableId ){ // create logic for sending emails } add_action('wpdatatables_after_frontent_edit_row', 'sendEmailAfterEdit',10,3); will be triggered in 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.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 Tables1 Like Sign in to reply ...
Hi. Is there a way to connect wpdatatables to any 3rd party to get en email notification every time the new data is pulled from an external mysql into table?
Thanks!
Would it be possible with zappier somehow? Does wpdatatables can be connected to zappier?
Hello Wojtek
I am sorry to disappoint you, but unfortunately, something like this is not possible with the plugin's built-in features.
You can try using our filters or hooks to create your own custom solution for this.
For sending emails, you can use this:
https://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/wordpress2/sending-e-mail-in-wordpress#:~:text=To%20send%20an%20e%2Dmail,authentication%20settings%20you%20defined%20above
And to take values after Apply is hit, there's this hook:
wpdatatables_after_frontent_edit_row( $formdata, $rowId, $tableId ) This action is executed after editing action is applied.
$formdata is the array of keys and values for editing.
$rowId is the ID field of the row in MySQL table that was edited.
$tableId is the table identifier from the MySQL plugin table (wp_wpdatatables).
For example:
function sendEmailAfterEdit( $formdata, $rowId, $tableId ){ // create logic for sending emails } add_action('wpdatatables_after_frontent_edit_row', 'sendEmailAfterEdit',10,3);
will be triggered in 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.
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