gglplsn_action_links

The Google +1 by BestWebSoft gglplsn action links function.

Description

gglplsn_action_links( $links, $file ); 

Parameters (2)

0. $links
The links.
1. $file
The file.

Usage

  1. if ( !function_exists( 'gglplsn_action_links' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-1-by-bestwebsoft/google-plus-one.php'; 
  3.  
  4. // The links. 
  5. $links = null; 
  6.  
  7. // The file. 
  8. $file = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = gglplsn_action_links($links, $file); 
  12.  

Defined (1)

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

/google-plus-one.php  
  1. function gglplsn_action_links( $links, $file ) { 
  2. if ( ! is_network_admin() ) { 
  3. static $this_plugin; 
  4. if ( ! $this_plugin ) 
  5. $this_plugin = plugin_basename( __FILE__ ); 
  6. if ( $file == $this_plugin && ! is_plugin_active( 'google-one-pro/google-plus-one-pro.php' ) && ! is_plugin_active( 'social-buttons-pack/social-buttons-pack.php' ) ) { 
  7. $settings_link = '<a href="admin.php?page=google-plus-one.php">' . __( 'Settings', 'google-one' ) . '</a>'; 
  8. array_unshift( $links, $settings_link ); 
  9. return $links;