twttr_links

The Twitter Plugin twttr links function.

Description

twttr_links( $links, $file ); 

Parameters (2)

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

Usage

  1. if ( !function_exists( 'twttr_links' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'twitter-plugin/twitter.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 = twttr_links($links, $file); 
  12.  

Defined (1)

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

/twitter.php  
  1. function twttr_links($links, $file) { 
  2. $base = plugin_basename(__FILE__); 
  3. if ($file == $base) { 
  4. $links[] = '<a href="admin.php?page=twitter-plugin/twitter.php">' . __( 'Settings', 'twitter' ) . '</a>'; 
  5. $links[] = '<a href="http://wordpress.org/extend/plugins/twitter-plugin/faq/" target="_blank">' . __( 'FAQ', 'twitter' ) . '</a>'; 
  6. $links[] = '<a href="Mailto:plugin@bestwebsoft.com">' . __( 'Support', 'twitter' ) . '</a>'; 
  7. return $links;