ninja_forms_update_field

The Ninja Forms ninja forms update field function.

Description

ninja_forms_update_field( $args ); 

Parameters (1)

0. $args
The args.

Usage

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

Defined (1)

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

/deprecated/includes/database.php  
  1. function ninja_forms_update_field($args) { 
  2. global $wpdb; 
  3. $update_array = $args['update_array']; 
  4. $where = $args['where']; 
  5. $wpdb->update(NINJA_FORMS_FIELDS_TABLE_NAME, $update_array, $where);