gpr_add_upgrade_submenu_page

Creates the upgrade page.

Description

gpr_add_upgrade_submenu_page(); 

links to global variables


Usage

  1. if ( !function_exists( 'gpr_add_upgrade_submenu_page' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-places-reviews/inc/upgrades/upgrade-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gpr_add_upgrade_submenu_page(); 
  7.  

Defined (1)

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

/inc/upgrades/upgrade-functions.php  
  1. function gpr_add_upgrade_submenu_page() { 
  2.  
  3. $gpr_upgrades_screen = add_submenu_page( null, __( 'Google Places Reviews Upgrades', 'google-places-reviews' ), __( 'Google Places Reviews Upgrades', 'google-places-reviews' ), 'activate_plugins', 'gpr-upgrades', 'gpr_upgrades_screen' ); 
  4.