iphorm_post_process

This hook is run after the form is processed.

iphorm_post_process

This hook is run for all forms.

Example

1
2
3
4
5
function my_post_process($form)
{
    // Custom code
}
add_action('iphorm_post_process', 'my_post_process');
function my_post_process($form)
{
    // Custom code
}
add_action('iphorm_post_process', 'my_post_process');

Parameters

  • $form – the iPhorm instance

Accessing form data

See Getting form values

iphorm_post_process_X

This hook is run for a single form, replace X with the form ID.

Example

1
2
3
4
5
function my_post_process($form)
{
    // Custom code
}
add_action('iphorm_post_process_1', 'my_post_process');
function my_post_process($form)
{
    // Custom code
}
add_action('iphorm_post_process_1', 'my_post_process');

Parameters

  • $form – the iPhorm instance

Accessing form data

See Getting form values

Other guides using this hook

Still having trouble? Head over to the forums.

Forums