pods_form_ui_field_time_args

The Pods - Custom Content Types and Fields pods form ui field time args hook.

Description

apply_filters( 'pods_form_ui_field_time_args', (unknown) $args, (unknown) $type, (unknown) $options, (unknown) $attributes, (string) $name, (unknown) $form_field_type ); 

Parameters (6)

0. $args (unknown)
The args.
1. $type (unknown)
The type.
2. $options (unknown)
The options.
3. $attributes (unknown)
The attributes.
4. $name (string)
The name.
5. $form_field_type (unknown)
The form field type.

Usage

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

Defined (1)

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

/ui/fields/time.php  
  1. $args = apply_filters( 'pods_form_ui_field_time_args', $args, $type, $options, $attributes, $name, $form_field_type );