• Resolved clementflib

    (@clementflib)


    Hi there, as title says, I’m willing to create a wp post based on form data after its submission. The purpose is to automate the post creation, and an admin will come once in a while to publish them (all posts will be in pending status after creation).

    I have a working function that do exactly that with hard coded data, but when I try with dynamic data it doesn’t work at all, I’m using forminator_form_after_handle_submit hook but I just saw it’s been removed and I cannot find anything to replace it.

    If anyone have any suggestion please let me know !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @clementflib

    Hope you’re doing well today.

    The hook forminator_form_after_handle_submit is still valid, the one that was deprecated was “forminator_custom_form_after_handle_submit” You can refer to the Forminator API docs here: https://wpmudev.com/docs/api-plugin-development/forminator-api-docs/#removed-deprecated-actions

    That said, the hook forminator_form_after_handle_submit is used for Page Reload Submissions only. In case you are using “Ajax Submission” this hook will not work.

    If you are using Ajax Submission for the form in that case you can try using the hook forminator_form_after_save_entry and see if that helps.

    Hope this helps. In case you have any further queries, please feel free to reach out to us. We’ll be glad to help you further.

    Kind Regards,
    Saurabh

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @clementflib,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to open a new thread if you have new queries.

    Kind Regards
    Nithin

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.