gglnltcs_register_plugin_links

The BestWebSoft Google Analytics gglnltcs register plugin links function.

Description

gglnltcs_register_plugin_links( $links, $file ); 

Parameters (2)

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

Usage

  1. if ( !function_exists( 'gglnltcs_register_plugin_links' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bestwebsoft-google-analytics/bws-google-analytics.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 = gglnltcs_register_plugin_links($links, $file); 
  12.  

Defined (1)

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

/bws-google-analytics.php  
  1. function gglnltcs_register_plugin_links( $links, $file ) { 
  2. static $this_plugin; 
  3. if ( ! $this_plugin ) 
  4. $this_plugin = plugin_basename( __FILE__ ); 
  5. if ( $file == $this_plugin ) { 
  6. $links[] = '<a href="admin.php?page=bws-google-analytics.php">' . __( 'Settings', 'gglnltcs' ) . '</a>'; 
  7. $links[] = '<a href="http://wordpress.org/plugins/bws-google-analytics/faq/" target="_blank">' . __( 'FAQ', 'gglnltcs' ) . '</a>'; 
  8. $links[] = '<a href="http://support.bestwebsoft.com">' . __( 'Support', 'gglnltcs' ) . '</a>'; 
  9. return $links;