gglplsn_plugin_activate

The Google +1 by BestWebSoft gglplsn plugin activate function.

Description

gglplsn_plugin_activate(); 

Usage

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

Defined (1)

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

/google-plus-one.php  
  1. function gglplsn_plugin_activate() { 
  2. if ( is_multisite() ) { 
  3. switch_to_blog( 1 ); 
  4. register_uninstall_hook( __FILE__, 'gglplsn_uninstall' ); 
  5. restore_current_blog(); 
  6. } else { 
  7. register_uninstall_hook( __FILE__, 'gglplsn_uninstall' );