Check it submission has been deleted instead of approved

Viewing 1 reply thread
  • Author
    • #6381

      Is there a way to check if the form submission had been deleted? So when the submission needs admin approval if the submission is deleted/denied email the user that the submission was not approved. Kind of how you have the guidance for:

      add_action(‘frontend_admin/save_post’, ‘send_email’, 10, 2);
      {send email function}

      is there a way to

      add_action(‘frontend_admin/delete_post’, ‘delete_email’, 10, 2);?
      {delete_email function}

      I tried the above delete_post because that is what WordPress uses but it did do anything

    • #6382
      Shabti Kaplan

      Great question. I will check if we have a hook. If not we will add one right away.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.