ninja_forms_register_tab_field_settings

The Ninja Forms ninja forms register tab field settings function.

Description

ninja_forms_register_tab_field_settings(); 

Usage

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

Defined (1)

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

/deprecated/includes/admin/pages/ninja-forms/tabs/field-settings/field-settings.php  
  1. function ninja_forms_register_tab_field_settings() { 
  2. if(isset($_REQUEST['form_id'])) { 
  3. $form_id = absint( $_REQUEST['form_id'] ); 
  4. }else{ 
  5. $form_id = ''; 
  6.  
  7. $args = array( 
  8. 'name' => __( 'Build Your Form', 'ninja-forms' ),  
  9. 'page' => 'ninja-forms',  
  10. 'display_function' => 'ninja_forms_tab_field_settings',  
  11. 'disable_no_form_id' => true,  
  12. 'show_save' => false,  
  13. 'tab_reload' => false,  
  14. ); 
  15. ninja_forms_register_tab( 'builder', $args );