gglstmp_admin_menu

The Google Sitemap by BestWebSoft gglstmp admin menu function.

Description

gglstmp_admin_menu(); 

Usage

  1. if ( !function_exists( 'gglstmp_admin_menu' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-sitemap-by-bestwebsoft/google-sitemap-plugin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gglstmp_admin_menu(); 
  7.  

Defined (1)

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

/google-sitemap-plugin.php  
  1. function gglstmp_admin_menu() { 
  2. $gglstmp_settings = add_submenu_page( 'bws_panel', __( 'Google Sitemap Settings', 'google-sitemap-plugin' ), 'Google Sitemap', 'manage_options', 'google-sitemap-plugin.php', 'gglstmp_settings_page' ); 
  3. add_action( "load-{$gglstmp_settings}", 'gglstmp_add_tabs' ); 
  4.  
  5. global $gglstmp_url_home, $gglstmp_url; 
  6. $gglstmp_url_home = site_url( '/' ); 
  7. $gglstmp_url = urlencode( $gglstmp_url_home );