rtmedia_view_conversation_of_media

The WordPress Core rtmedia view conversation of media function.

Description

rtmedia_view_conversation_of_media( $activity_id ); 

Parameters (1)

0. $activity_id
The activity id.

Usage

  1. if ( !function_exists( 'rtmedia_view_conversation_of_media' ) ) { 
  2. require_once '/app/main/controllers/template/rtmedia-functions.php'; 
  3.  
  4. // The activity id. 
  5. $activity_id = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = rtmedia_view_conversation_of_media($activity_id); 
  9.  

Defined (1)

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

/app/main/controllers/template/rtmedia-functions.php  
  1. function rtmedia_view_conversation_of_media( $activity_id ) { 
  2. if ( function_exists( 'bp_activity_get_permalink' ) ) { 
  3. ?> 
  4. <span> 
  5. <a href="<?php echo bp_activity_get_permalink( $activity_id ); ?>" 
  6. class="rtmedia-view-conversation" > 
  7. <?php _e( 'View Conversation', 'buddypress-media' ); ?> 
  8. </a> 
  9. </span> 
  10. <?php