ninja_forms_field_profile_add_close_wrapper

The Ninja Forms ninja forms field profile add close wrapper function.

Description

ninja_forms_field_profile_add_close_wrapper( $field_id, $data ); 

Parameters (2)

0. $field_id
The field id.
1. $data
The data.

Usage

  1. if ( !function_exists( 'ninja_forms_field_profile_add_close_wrapper' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/fields/password.php'; 
  3.  
  4. // The field id. 
  5. $field_id = null; 
  6.  
  7. // The data. 
  8. $data = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = ninja_forms_field_profile_add_close_wrapper($field_id, $data); 
  12.  

Defined (1)

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

/deprecated/includes/fields/password.php  
  1. function ninja_forms_field_profile_add_close_wrapper( $field_id, $data ) { 
  2. $field_row = ninja_forms_get_field_by_id( $field_id ); 
  3. if ( '_profile_pass' == $field_row['type'] ) { 
  4. //echo '</div>';