ninja_forms_edit_field_close_li

The Ninja Forms ninja forms edit field close li function.

Description

ninja_forms_edit_field_close_li( $field_id ); 

Parameters (1)

0. $field_id
The field id.

Usage

  1. if ( !function_exists( 'ninja_forms_edit_field_close_li' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/admin/edit-field/li.php'; 
  3.  
  4. // The field id. 
  5. $field_id = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = ninja_forms_edit_field_close_li($field_id); 
  9.  

Defined (1)

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

/deprecated/includes/admin/edit-field/li.php  
  1. function ninja_forms_edit_field_close_li( $field_id ) { 
  2. global $ninja_forms_fields; 
  3. $field_row = ninja_forms_get_field_by_id( $field_id ); 
  4. $field_type = $field_row['type']; 
  5.  
  6. if ( isset( $ninja_forms_fields[$field_type]['use_li'] ) and $ninja_forms_fields[$field_type]['use_li'] ) { 
  7.  
  8. do_action( 'ninja_forms_edit_field_before_closing_li', $field_id ); 
  9. ?> 
  10. </div><!-- .menu-item-settings--> 
  11. </li> 
  12. <?php