gglstmp_settings_page

The Google Sitemap by BestWebSoft gglstmp settings page function.

Description

gglstmp_settings_page(); 

Usage

  1. if ( !function_exists( 'gglstmp_settings_page' ) ) { 
  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_settings_page(); 
  7.  

Defined (1)

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

/google-sitemap-plugin.php  
  1. function gglstmp_settings_page() { 
  2. global $gglstmp_plugin_info, $gglstmp_list_table;  
  3. require_once( dirname( __FILE__ ) . '/includes/pro_banners.php' ); ?> 
  4. <div class="wrap">  
  5. <?php if ( 'google-sitemap-plugin.php' == $_GET['page'] ) { /** Showing settings tab */ 
  6. require_once( dirname( __FILE__ ) . '/includes/class-gglstmp-settings.php' ); 
  7. $page = new Gglstmp_Settings_Tabs( plugin_basename( __FILE__ ) ); ?> 
  8. <h1>Google Sitemap <?php _e( 'Settings', 'google-sitemap-plugin' ); ?></h1> 
  9. <noscript><div class="error below-h2"><p><strong><?php _e( "Please enable JavaScript in Your browser.", 'google-sitemap-plugin' ); ?></strong></p></div></noscript> 
  10. <?php $page->display_content(); 
  11. } else { ?> 
  12. <h1><?php _e( 'Custom Links', 'google-sitemap-plugin' ); ?></h1> 
  13. <?php gglstmp_pro_block( "gglstmp_custom_links_block", false ); 
  14. bws_plugin_reviews_block( $gglstmp_plugin_info['Name'], 'google-sitemap-plugin' ); 
  15. } ?> 
  16. </div> 
  17. <?php }