nf_trigger_upgrades

Triggers all upgrade functions.

Description

nf_trigger_upgrades(); 

This function is usually triggered via AJAX


Usage

  1. if ( !function_exists( 'nf_trigger_upgrades' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/admin/upgrades/upgrade-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = nf_trigger_upgrades(); 
  7.  

Defined (1)

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

/deprecated/includes/admin/upgrades/upgrade-functions.php  
  1. function nf_trigger_upgrades() { 
  2. if ( DOING_AJAX ) 
  3. die( 'complete' ); // Let AJAX know that the upgrade is complete