• Hello guys,
    thanks for this amazing plugin!

    I’m wondering if there is a list of public hooks I can extend like gform_pre_submission or gform_after_submission

    I explain better my needs, there are 2 different situations:

    1) I’m using Gravity Form to save a new post with several custom fields. After the post is saved, custom PHP code will generate a PDF.
    Which is the best hook to use? I need the post correctly stored in the DB, before the confirmation message.

    2) I’m using Gravity Form to save a new post with several custom fields. Before post creation, I check on an external DB if the post has been before.
    Which is the best hook to use?

    Thank you very much!

    https://www.ads-software.com/plugins/gravity-forms-custom-post-types/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dave from Gravity Wiz

    (@spivurno)

    This integrates with Gravity Forms so all the hooks that are available through Gravity forms are available here as well.

    1. gform_after_submission would do the trick.

    2. gform_disable_post_creation is probably your best bet if you might need to cancel post creation based on a remote query.

    Thread Starter Leonardo Giacone

    (@leopeo)

    Thanks David,
    I will try how you suggest.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘List of public hooks’ is closed to new replies.