caldera_forms_file_field_class

The Caldera Forms caldera forms file field class function.

Description

caldera_forms_file_field_class( $classes ); 

Parameters (1)

0. $classes
The classes.

Usage

  1. if ( !function_exists( 'caldera_forms_file_field_class' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'caldera-forms/includes/custom_field_class.php'; 
  3.  
  4. // The classes. 
  5. $classes = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = caldera_forms_file_field_class($classes); 
  9.  

Defined (1)

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

/includes/custom_field_class.php  
  1. function caldera_forms_file_field_class($classes) { 
  2. $classes['field_wrapper'][] = "file-prevent-overflow"; 
  3. return $classes;