cf_custom_field_classes

The Caldera Forms cf custom field classes function.

Description

cf_custom_field_classes(); 

Usage

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

Defined (1)

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

/includes/custom_field_class.php  
  1. function cf_custom_field_classes() { 
  2. ?> 
  3. <div class="caldera-config-group customclass-field"> 
  4. <label><?php echo __('Custom Class', 'caldera-forms'); ?> </label> 
  5. <div class="caldera-config-field"> 
  6. <input type="text" class="block-input field-config" name="{{_name}}[custom_class]" value="{{custom_class}}"> 
  7. </div> 
  8. </div> 
  9. <?php