pods_form_ui_field_pick_input_self_<type>_format_type<options>single_self_<type>_format_multi<options>checkbox

The Pods - Custom Content Types and Fields pods form ui field pick input self type format options single multi checkbox hook.

Description

do_action( 'pods_form_ui_field_pick_input_self_<type>_format_type<options>single_self_<type>_format_multi<options>checkbox', (string) $name, (unknown) $value, (unknown) $options, (unknown) $pod, (unknown) $id ); 

Parameters (5)

0. $name (string)
The name.
1. $value (unknown)
The value.
2. $options (unknown)
The options.
3. $pod (unknown)
The pod.
4. $id (unknown)
The id.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'pods_form_ui_field_pick_input_self_{$type}_format_type{$options}single_self_{$type}_format_multi{$options}checkbox', $name, $value, $options, $pod, $id ); 
The following example is for adding a hook callback.
  1. // define the pods_form_ui_field_pick_input_self_<type>_format_type<options>single_self_<type>_format_multi<options>checkbox callback 
  2. function action_pods_form_ui_field_pick_input_self_type_format_typeoptionssingle_self_type_format_multioptionscheckbox( $name, $value, $options, $pod, $id ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( "pods_form_ui_field_pick_input_self_{$type}_format_type{$options}single_self_{$type}_format_multi{$options}checkbox", 'action_pods_form_ui_field_pick_input_self_type_format_typeoptionssingle_self_type_format_multioptionscheckbox', 10, 5 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( "pods_form_ui_field_pick_input_self_{$type}_format_type{$options}single_self_{$type}_format_multi{$options}checkbox", 'action_pods_form_ui_field_pick_input_self_type_format_typeoptionssingle_self_type_format_multioptionscheckbox', 10, 5 ); 

Defined (1)

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

/classes/fields/pick.php  
  1. do_action( 'pods_form_ui_field_pick_input_' . pods_var( self::$type . '_format_type', $options, 'single' ) . '_' . pods_var( self::$type . '_format_multi', $options, 'checkbox' ), $name, $value, $options, $pod, $id );