gglplsn_register_plugin_links

The Google +1 by BestWebSoft gglplsn register plugin links function.

Description

gglplsn_register_plugin_links( $links, $file ); 

Parameters (2)

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

Usage

  1. if ( !function_exists( 'gglplsn_register_plugin_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_register_plugin_links($links, $file); 
  12.  

Defined (1)

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

/google-plus-one.php  
  1. function gglplsn_register_plugin_links( $links, $file ) { 
  2. $base = plugin_basename( __FILE__ ); 
  3. if ( $file == $base ) { 
  4. if ( ! is_network_admin() && ! is_plugin_active( 'google-one-pro/google-plus-one-pro.php' ) && ! is_plugin_active( 'social-buttons-pack/social-buttons-pack.php' ) ) 
  5. $links[] = '<a href="admin.php?page=google-plus-one.php">' . __( 'Settings', 'google-one' ) . '</a>'; 
  6. $links[] = '<a href="http://wordpress.org/plugins/google-one/faq/" target="_blank">' . __( 'FAQ', 'google-one' ) . '</a>'; 
  7. $links[] = '<a href="http://support.bestwebsoft.com">' . __( 'Support', 'google-one' ) . '</a>'; 
  8. return $links;