ninja_forms_register_tab_form_settings

The Ninja Forms ninja forms register tab form settings function.

Description

ninja_forms_register_tab_form_settings(); 

Usage

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

Defined (1)

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

/deprecated/includes/admin/pages/ninja-forms/tabs/form-settings/form-settings.php  
  1. function ninja_forms_register_tab_form_settings() { 
  2. $all_forms_link = esc_url( remove_query_arg( array( 'form_id', 'tab' ) ) ); 
  3. $args = array( 
  4. 'name' => __( 'Settings', 'ninja-forms' ),  
  5. 'page' => 'ninja-forms',  
  6. 'save_function' => 'ninja_forms_save_form_settings',  
  7. 'tab_reload' => false,  
  8. // 'title' => '<h2>Forms <a href="'.$all_forms_link.'" class="add-new-h2">'.__('View All Forms', 'ninja-forms').'</a></h2>',  
  9. ); 
  10. ninja_forms_register_tab('form_settings', $args);