ninja_forms_register_field_submit

The Ninja Forms ninja forms register field submit function.

Description

ninja_forms_register_field_submit(); 

Usage

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

Defined (1)

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

/deprecated/includes/fields/submit.php  
  1. function ninja_forms_register_field_submit() { 
  2. $args = array( 
  3. 'name' => __( 'Submit', 'ninja-forms' ),  
  4. 'display_function' => 'ninja_forms_field_submit_display',  
  5. 'group' => 'standard_fields',  
  6. 'edit_label' => true,  
  7. 'edit_label_pos' => false,  
  8. 'edit_req' => false,  
  9. 'edit_custom_class' => true,  
  10. 'edit_help' => true,  
  11. 'edit_meta' => false,  
  12. 'sidebar' => 'template_fields',  
  13. 'display_label' => false,  
  14. 'edit_conditional' => true,  
  15. 'conditional' => array( 
  16. 'value' => array( 
  17. 'type' => 'text',  
  18. ),  
  19. ),  
  20. 'process_field' => false,  
  21. 'limit' => 1,  
  22. ); 
  23.  
  24. ninja_forms_register_field('_submit', $args);