ninja_forms_save_license_settings

The Ninja Forms ninja forms save license settings function.

Description

ninja_forms_save_license_settings( $data ); 

Parameters (1)

0. $data
The data.

Usage

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

Defined (1)

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

/deprecated/includes/admin/pages/ninja-forms-settings/tabs/license-settings/license-settings.php  
  1. function ninja_forms_save_license_settings( $data ) { 
  2. $plugin_settings = nf_get_settings(); 
  3.  
  4. foreach( $data as $key => $val ) { 
  5. $plugin_settings[$key] = $val; 
  6.  
  7. update_option( 'ninja_forms_settings', $plugin_settings ); 
  8.  
  9. return false;