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