pods_form_after_submit

The Pods - Custom Content Types and Fields pods form after submit hook.

Description

do_action( 'pods_form_after_submit', (unknown) $pod, (unknown) $fields, (unknown) $params ); 

Parameters (3)

0. $pod (unknown)
The pod.
1. $fields (unknown)
The fields.
2. $params (unknown)
The params.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'pods_form_after_submit', $pod, $fields, $params ); 
The following example is for adding a hook callback.
  1. // define the pods_form_after_submit callback 
  2. function action_pods_form_after_submit( $pod, $fields, $params ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'pods_form_after_submit', 'action_pods_form_after_submit', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'pods_form_after_submit', 'action_pods_form_after_submit', 10, 3 ); 

Defined (1)

The action is defined in the following location(s).

/ui/front/form.php  
  1. <?php do_action( 'pods_form_after_submit', $pod, $fields, $params ); ?>