monsterinsights_lite_call_install_and_upgrade

MonsterInsights check for install and update processes.

Description

monsterinsights_lite_call_install_and_upgrade(); 

This function is used to call the MonsterInsights automatic upgrade class, which in turn checks to see if there are any update procedures to be run, and if so runs them. Also installs MonsterInsights for the first time.


Usage

  1. if ( !function_exists( 'monsterinsights_lite_call_install_and_upgrade' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-analytics-for-wordpress-by-monsterinsights/googleanalytics.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = monsterinsights_lite_call_install_and_upgrade(); 
  7.  

Defined (1)

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

/googleanalytics.php  
  1. function monsterinsights_lite_call_install_and_upgrade() {