You are here

function twitter_filter_tips in Twitter 6.4

Same name and namespace in other branches
  1. 6.5 twitter.module \twitter_filter_tips()
  2. 6.2 twitter.module \twitter_filter_tips()
  3. 6.3 twitter.module \twitter_filter_tips()

Implementation of hook_filter_tips().

File

./twitter.module, line 196
Establishes an interface to communicate with Twitter

Code

function twitter_filter_tips($delta, $format, $long = FALSE) {
  global $base_url;
  switch ($delta) {
    case 0:
      return t('Twitter-style @usersnames are linked to their Twitter account pages.');
    case 1:
      return t('Twitter-style #hashtags are linked to !url.', array(
        '!url' => '<a href="http://search.twitter.com/">search.twitter.com</a>',
      ));
  }
}