This hook is used to handle the data before contact is created by the groundhogg.

do_action( 'groundhogg/form/submission_handler/before_create_contact', $args, $meta, $tags, $files, $this );

This hook provides five arguments to work with.

$args:  This array contains the basic argument that is required to create contact.

$meta:  This array contains a list of the contact meta to add after contact creations.

$tags: This array contains a list of tags to apply to the contact if any control is bound with tags.

$files: This array contains information about any files are attached to the submission.

$this: This contains an object of the Submission_Handler class which can be used to handle the response.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us