gglplsn_plugin_banner

The Google +1 by BestWebSoft gglplsn plugin banner function.

Description

gglplsn_plugin_banner(); 

Usage

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

Defined (1)

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

/google-plus-one.php  
  1. function gglplsn_plugin_banner() { 
  2. global $hook_suffix, $gglplsn_plugin_info, $gglplsn_options; 
  3. if ( 'plugins.php' == $hook_suffix ) { 
  4.  
  5. /**pls show banner go pro */ 
  6. if ( empty( $gglplsn_options ) ) 
  7. $gglplsn_options = get_option( 'gglplsn_options' ); 
  8.  
  9. if ( isset( $gglplsn_options['first_install'] ) && strtotime( '-1 week' ) > $gglplsn_options['first_install'] ) 
  10. bws_plugin_banner( $gglplsn_plugin_info, 'gglplsn', 'google-plus-one', 'ca01bbe0edd696fddb27769001fe8084', '102', '//ps.w.org/google-one/assets/icon-128x128.png' ); 
  11. /** show banner go settings pls*/ 
  12. if ( ! is_network_admin() ) 
  13. bws_plugin_banner_to_settings( $gglplsn_plugin_info, 'gglplsn_options', 'google-one', 'admin.php?page=google-plus-one.php' ); 
  14.  
  15. if ( isset( $_REQUEST['page'] ) && 'google-plus-one.php' == $_REQUEST['page'] ) { 
  16. bws_plugin_suggest_feature_banner( $gglplsn_plugin_info, 'gglplsn_options', 'google-one' );