ninja_forms_register_label_settings_metabox

The Ninja Forms ninja forms register label settings metabox function.

Description

ninja_forms_register_label_settings_metabox(); 

Usage

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

Defined (1)

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

/deprecated/includes/admin/pages/ninja-forms-settings/tabs/label-settings/label-settings.php  
  1. function ninja_forms_register_label_settings_metabox() { 
  2.  
  3. $args = array( 
  4. 'page' => 'ninja-forms-settings',  
  5. 'tab' => 'label_settings',  
  6. 'slug' => 'label_labels',  
  7. 'title' => __( 'Message Labels', 'ninja-forms' ),  
  8. 'settings' => array( 
  9. array( 
  10. 'name' => 'req_div_label',  
  11. 'type' => 'text',  
  12. 'label' => __( 'Required Field Label', 'ninja-forms' ),  
  13. 'desc' => '',  
  14. 'help_text' => '',  
  15. ),  
  16. array( 
  17. 'name' => 'req_field_symbol',  
  18. 'type' => 'text',  
  19. 'label' => __( 'Required field symbol', 'ninja-forms' ),  
  20. ),  
  21. array( 
  22. 'name' => 'req_error_label',  
  23. 'type' => 'text',  
  24. 'label' => __( 'Error message given if all required fields are not completed', 'ninja-forms' ),  
  25. ),  
  26. array( 
  27. 'name' => 'req_field_error',  
  28. 'type' => 'text',  
  29. 'label' => __( 'Required Field Error', 'ninja-forms' ),  
  30. 'desc' => '',  
  31. ),  
  32. array( 
  33. 'name' => 'spam_error',  
  34. 'type' => 'text',  
  35. 'label' => __( 'Anti-spamerrormessage', 'ninja-forms' ),  
  36. 'desc' => '',  
  37. ),  
  38. array( 
  39. 'name' => 'honeypot_error',  
  40. 'type' => 'text',  
  41. 'label' => __( 'Honeypoterrormessage', 'ninja-forms' ),  
  42. 'desc' => '',  
  43. ),  
  44. array( 
  45. 'name' => 'timed_submit_error',  
  46. 'type' => 'text',  
  47. 'label' => __( 'Timererrormessage', 'ninja-forms' ),  
  48. 'desc' => '',  
  49. ),  
  50. array( 
  51. 'name' => 'javascript_error',  
  52. 'type' => 'text',  
  53. 'label' => __( 'JavaScript disablederrormessage', 'ninja-forms' ),  
  54. 'desc' => '',  
  55. ),  
  56. array( 
  57. 'name' => 'invalid_email',  
  58. 'type' => 'text',  
  59. 'label' => __( 'Please enter a valid email address', 'ninja-forms' ),  
  60. 'desc' => '',  
  61. ),  
  62. array( 
  63. 'name' => 'process_label',  
  64. 'type' => 'text',  
  65. 'label' => __( 'Processing Submission Label', 'ninja-forms' ),  
  66. 'desc' => __( 'This message is shown inside the submit button whenever a user clicks "submit" to let them know it is processing.', 'ninja-forms' ),  
  67. ),  
  68. array( 
  69. 'name' => 'password_mismatch',  
  70. 'type' => 'text',  
  71. 'label' => __( 'Password Mismatch Label', 'ninja-forms' ),  
  72. 'desc' => __( 'This message is shown to a user when non-matching values are placed in the password field.', 'ninja-forms' ),  
  73. ),  
  74. ),  
  75. ); 
  76.