• Resolved deepdoom

    (@deepdoom)


    Is the submission ID set at the time the ninja_forms_after_submission hook is called?

    Im looking in the $form_data that the hook comes with but cannot see the $sub_id in any array.

    If the sub id is not set at this point, how can I get the sub ID and do something with it each time a form is submitted, only in code, not interested in a front end solution as Im sending the sub id to a different service to do something with.

    Cheers

Viewing 1 replies (of 1 total)
  • Thread Starter deepdoom

    (@deepdoom)

    Alternatively is there a base WP_ hook that is fired when a form submission is saved, as I have tried the after_insert_post but the creation of a new submission does not fire that hook as I guess its classed as some other thing than a post.

Viewing 1 replies (of 1 total)
  • The topic ‘ninja_forms_after_submission’ is closed to new replies.