function _twitter_filter_hashtag in Twitter 7.3
Same name and namespace in other branches
- 6.5 twitter.module \_twitter_filter_hashtag()
- 7.6 twitter.module \_twitter_filter_hashtag()
- 7.4 twitter.module \_twitter_filter_hashtag()
- 7.5 twitter.module \_twitter_filter_hashtag()
Callback for twitter #hashtag converter
1 string reference to '_twitter_filter_hashtag'
- twitter_filter_info in ./
twitter.module - Implements hook_filter_info().
File
- ./
twitter.module, line 209 - Provides API integration with the Twitter microblogging service.
Code
function _twitter_filter_hashtag($text, $filter) {
$prefix = '#';
$destination = variable_get('twitter_search', TWITTER_SEARCH) . '/search?q=%23';
return _twitter_filter_text($text, $prefix, $destination);
}