gglstmp_plugin_banner

The Google Sitemap by BestWebSoft gglstmp plugin banner function.

Description

gglstmp_plugin_banner(); 

Usage

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

Defined (1)

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

/google-sitemap-plugin.php  
  1. function gglstmp_plugin_banner() { 
  2. global $hook_suffix, $gglstmp_plugin_info, $gglstmp_options; 
  3.  
  4. if ( 'plugins.php' == $hook_suffix ) { 
  5. if ( ! $gglstmp_options ) 
  6.  
  7. if ( isset( $gglstmp_options['first_install'] ) && strtotime( '-1 week' ) > $gglstmp_options['first_install'] ) 
  8. bws_plugin_banner( $gglstmp_plugin_info, 'gglstmp', 'google-sitemap', '8fbb5d23fd00bdcb213d6c0985d16ec5', '83', '//ps.w.org/google-sitemap-plugin/assets/icon-128x128.png' ); 
  9.  
  10. bws_plugin_banner_to_settings( $gglstmp_plugin_info, 'gglstmp_options', 'google-sitemap-plugin', 'admin.php?page=google-sitemap-plugin.php' ); 
  11.  
  12. if ( isset( $_REQUEST['page'] ) && 'google-sitemap-plugin.php' == $_REQUEST['page'] ) 
  13. bws_plugin_suggest_feature_banner( $gglstmp_plugin_info, 'gglstmp_options', 'google-sitemap-plugin' );