pods_admin_ui_custom_<pod>

The Pods - Custom Content Types and Fields pods admin ui custom pod hook.

Description

do_action( 'pods_admin_ui_custom_<pod>', (unknown) $pod ); 

Parameters (1)

0. $pod (unknown)
The pod.

Usage

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

Defined (2)

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

/classes/PodsAdmin.php  
  1. do_action( 'pods_admin_ui_custom_' . $pod->pod, $pod ); 
/classes/Pods.php  
  1. do_action( 'pods_admin_ui_custom_' . $this->pod, $this );