rtmedia_show_title

The rtMedia for WordPress, BuddyPress and bbPress rtmedia show title function.

Description

rtmedia_show_title(); 

Usage

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

Defined (1)

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

/app/main/controllers/template/rtmedia-functions.php  
  1. function rtmedia_show_title() { 
  2.  
  3. global $rtmedia_backbone; 
  4.  
  5. if ( $rtmedia_backbone['backbone'] ) { 
  6. echo '<%= media_class %>'; 
  7. } else { 
  8. global $rtmedia_media; 
  9. $media_class = 'hide'; 
  10. if ( isset( $rtmedia_media->media_type ) && function_exists( 'rtmedia_hide_title_media_gallery' ) ) { 
  11. $media_class = rtmedia_hide_title_media_gallery( $rtmedia_media->media_type ); 
  12. return $media_class;