pods_showform_pre

The Pods - Custom Content Types and Fields pods showform pre hook.

Description

do_action( 'pods_showform_pre', (unknown) $pod_id, (unknown) $public_fields, (unknown) $label, (unknown) $instance ); 

Parameters (4)

0. $pod_id (unknown)
The pod id.
1. $public_fields (unknown)
The public fields.
2. $label (unknown)
The label.
3. $instance (unknown)
The this.

Usage

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

Defined (1)

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

/deprecated/classes/Pods.php  
  1. do_action( 'pods_showform_pre', $pod_id, $public_fields, $label, $this );