PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Hook after admin edit?

  1. Riks

    Hi there,
    I've got a very simple form I'm trying a few things out with, one of which is allowing the admin to change the status of a form entry after submission (approved/declined etc.) - that seems to be working great, but are there any hooks i can use when the status is changed and update is clicked?


    Posted 12 years ago on Thursday October 6, 2011 | Permalink
  2. You could use the gform_save_field_value. It fires every time any field is about to be saved into the database. You can add some if statements inside this hook to trigger your logic only when needed (i.e. when a specific field is changed in the admin).

    Posted 12 years ago on Sunday October 9, 2011 | Permalink