pods_admin_ui_fields

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

Description

apply_filters( 'pods_admin_ui_fields', (unknown) $manage, (unknown) $this_pod, (unknown) $instance ); 

Parameters (3)

0. $manage (unknown)
The manage.
1. $this_pod (unknown)
The this pod.
2. $instance (unknown)
The this.

Usage

To run the hook, copy the example below.
  1. $manage = apply_filters( 'pods_admin_ui_fields', $manage, $this_pod, $instance ); 
  2.  
  3. if ( !empty( $manage ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the pods_admin_ui_fields callback 
  2. function filter_pods_admin_ui_fields( $manage, $this_pod, $instance ) { 
  3. // make filter magic happen here... 
  4. return $manage
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'pods_admin_ui_fields', 'filter_pods_admin_ui_fields', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'pods_admin_ui_fields', 'filter_pods_admin_ui_fields', 10, 3 ); 

Defined (1)

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

/classes/Pods.php  
  1. $manage = apply_filters( 'pods_admin_ui_fields_' . $this->pod, apply_filters( 'pods_admin_ui_fields', $manage, $this->pod, $this ), $this->pod, $this );