I have got a question: Is there any chance to set up an email-notification to get notified when the table was edited via the frontend-editor. I could not find any.
For this reason, I thought about using the "wpdatatables_after_frontent_edit_row( $formdata, $row_id_value, $table_id )" action to do it programmatically in my functions.php. The problem is that the emails are send everytime when any table is edited. I just want to enable the notification for one specific table. Unfortunately, using the "is_single( 'post_id' )" conditional tag for the post the table is posted in does not work. Do you know why by any chance?
In filter wpdatatables_after_frontent_edit_row( $formdata, $row_id_value, $table_id ) you have available $table_id variable so you can do if statement to ask e.g:
Thank you, that worked for me! I did recognize that there was parameters I could use. I did not know that I had to specify them in the add_action function to use them
Dear Support Team,
I have got a question: Is there any chance to set up an email-notification to get notified when the table was edited via the frontend-editor. I could not find any.
For this reason, I thought about using the "wpdatatables_after_frontent_edit_row( $formdata, $row_id_value, $table_id )" action to do it programmatically in my functions.php. The problem is that the emails are send everytime when any table is edited. I just want to enable the notification for one specific table. Unfortunately, using the "is_single( 'post_id' )" conditional tag for the post the table is posted in does not work. Do you know why by any chance?
Cheers, Michael
Hi Michael,
Thank you for your purchase.
In filter wpdatatables_after_frontent_edit_row( $formdata, $row_id_value, $table_id ) you have available $table_id variable so you can do if statement to ask e.g:
Thank you, that worked for me! I did recognize that there was parameters I could use. I did not know that I had to specify them in the add_action function to use them
Hi Michael,
You are welcome. We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks!