gmb_get_completed_upgrades

Get's the array of completed upgrade actions.

Description

(array) gmb_get_completed_upgrades(); 

Returns (array)

The array of completed upgrades


Usage

  1. if ( !function_exists( 'gmb_get_completed_upgrades' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'maps-builder/vendor/wordimpress/maps-builder-core/includes/admin/upgrades/upgrade-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gmb_get_completed_upgrades(); 
  7.  

Defined (1)

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

/vendor/wordimpress/maps-builder-core/includes/admin/upgrades/upgrade-functions.php  
  1. function gmb_get_completed_upgrades() { 
  2.  
  3. $completed_upgrades = get_option( 'gmb_completed_upgrades' ); 
  4.  
  5. if ( false === $completed_upgrades ) { 
  6. $completed_upgrades = array(); 
  7.  
  8. return $completed_upgrades; 
  9.