ninja_forms_register_sidebar_user_info_fields

Function that adds our user info sidebar.

Description

ninja_forms_register_sidebar_user_info_fields(); 

Usage

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

Defined (1)

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

/deprecated/includes/admin/pages/ninja-forms/tabs/field-settings/sidebars/user-info.php  
  1. function ninja_forms_register_sidebar_user_info_fields() { 
  2. $args = array( 
  3. 'name' => __( 'User Information', 'ninja-forms' ),  
  4. 'page' => 'ninja-forms',  
  5. 'tab' => 'builder',  
  6. 'display_function' => 'ninja_forms_sidebar_user_info_fields
  7. ); 
  8. ninja_forms_register_sidebar('user_info', $args);