twitter_stream_reply_wrap

The Twitter Stream twitter stream reply wrap function.

Description

twitter_stream_reply_wrap( $match ); 

Parameters (1)

0. $match
The match.

Usage

  1. if ( !function_exists( 'twitter_stream_reply_wrap' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'twitter-stream/twitter-stream.php'; 
  3.  
  4. // The match. 
  5. $match = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = twitter_stream_reply_wrap($match); 
  9.  

Defined (1)

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

/twitter-stream.php  
  1. function twitter_stream_reply_wrap( $match ) { 
  2. return sprintf( 
  3. '<span class="at-reply"><a href="http://twitter.com/%s" title="View %s\'s profile">%s</a></span>',  
  4. esc_attr( substr( $match[1], 1 ) ),  
  5. esc_attr( substr( $match[1], 1 ) ),  
  6. esc_html( $match[1] ) 
  7. );