rtmedia_is_comment_media_single_page

The rtMedia for WordPress, BuddyPress and bbPress rtmedia is comment media single page function.

Description

rtmedia_is_comment_media_single_page( $rtmedia_id ); 

Parameters (1)

0. $rtmedia_id
The rtmedia id.

Usage

  1. if ( !function_exists( 'rtmedia_is_comment_media_single_page' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'rtmedia-for-wordpress-buddypress-and-bbpress/app/main/controllers/template/rtmedia-functions.php'; 
  3.  
  4. // The rtmedia id. 
  5. $rtmedia_id = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = rtmedia_is_comment_media_single_page($rtmedia_id); 
  9.  

Defined (1)

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

/app/main/controllers/template/rtmedia-functions.php  
  1. function rtmedia_is_comment_media_single_page( $rtmedia_id ) { 
  2. $comment_media = false; 
  3. global $rtmedia; 
  4. /** check if the reply in comment media is not allow */ 
  5. $comment_media = rtmedia_is_comment_media( $rtmedia_id ); 
  6. return $comment_media;