Holiday Notice – Support Unavailable on April 18 and April 21

We just wanted to let you know that our support team will be offline on Friday, April 18th (Good Friday) and Monday, April 21st (Easter Monday) due to the holidays.
We'll be back on Tuesday, ready to assist you!

In the meantime, if you need any help, feel free to:

Amelia YouTube Channel

wpDataTables YouTube Channel

Thank you for your understanding, and we wish you a wonderful holiday weekend!

Okay
  Public Ticket #1011329
Table Edit Email Notification
Closed

Comments

  •  2
    Michael started the conversation

    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

  • [deleted] replied

    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:

    if ($table_id == 1) {
        // Your function
    }
  •  2
    Michael replied

    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

  • [deleted] replied

    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!