ninja_forms_register_field_hr

The Ninja Forms ninja forms register field hr function.

Description

ninja_forms_register_field_hr(); 

Usage

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

Defined (1)

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

/deprecated/includes/fields/hr.php  
  1. function ninja_forms_register_field_hr() { 
  2. $args = array( 
  3. 'name' => __( 'hr', 'ninja-forms' ),  
  4. 'sidebar' => 'layout_fields',  
  5. 'edit_function' => '',  
  6. 'display_function' => 'ninja_forms_field_hr_display',  
  7. 'group' => 'layout_elements',  
  8. 'display_label' => false,  
  9. 'display_wrap' => false,  
  10. 'edit_label' => false,  
  11. 'edit_label_pos' => false,  
  12. 'edit_req' => false,  
  13. 'edit_custom_class' => true,  
  14. 'edit_help' => false,  
  15. 'edit_meta' => false,  
  16. 'edit_conditional' => true,  
  17. 'process_field' => false,  
  18. ); 
  19.  
  20. ninja_forms_register_field('_hr', $args);