pods_form_ui_field_pick_input
The Pods - Custom Content Types and Fields pods form ui field pick input hook.
Description
Parameters (6)
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'pods_form_ui_field_pick_input', $pods_var, $name, $value, $options, $pod, $id );
- The following example is for adding a hook callback.
- // define the pods_form_ui_field_pick_input callback
- function action_pods_form_ui_field_pick_input( $pods_var, $name, $value, $options, $pod, $id ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'pods_form_ui_field_pick_input', 'action_pods_form_ui_field_pick_input', 10, 6 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'pods_form_ui_field_pick_input', 'action_pods_form_ui_field_pick_input', 10, 6 );
Defined (3)
The action is defined in the following location(s).
- /classes/fields/pick.php
- do_action( 'pods_form_ui_field_pick_input', pods_var( self::$type . '_format_type', $options, 'single' ), $name, $value, $options, $pod, $id );
- do_action( 'pods_form_ui_field_pick_input', pods_var( self::$type . '_format_type', $options, 'single' ), $name, $value, $options, $pod, $id );
- do_action( 'pods_form_ui_field_pick_input', pods_var( self::$type . '_format_type', $options, 'single' ), $name, $value, $options, $pod, $id );