Hi there,
I'm looking into setting up the redirection URL to the platform homepage after an entry (converted into post) is deleted from the front-end. It currently takes me to this URL.
/wp-admin/admin-ajax.php?action=frm_entries_destroy&entry=3478&redirect=current&nonce=de3311ecbb
I would appreciate any assistance on this matter.
Thanks,
Deletions don't actually take place on the front end because the data resides on the server. When you you delete your entry from the front end, you trigger an Ajax call that triggers a function on the back end to delete the entry. You can use the frm_after_destroy_entry hook to run a custom PHP function to redirect tour user to the home page. https://formidableforms.com/knowledgebase/frm_after_destroy_entry/
Please login or Register to submit your answer
Does using the action trigger "delete" change things? https://formidableforms.com/knowledgebase/using-add-form-actions/