rtmedia_gallery

The rtMedia for WordPress, BuddyPress and bbPress rtmedia gallery shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[rtmedia_gallery]'); 
  1. // variable usage 
  2. $result = do_shortcode('[rtmedia_gallery]'); 
  3. echo $result;  

Defined (1)

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

/app/main/controllers/shortcodes/RTMediaGalleryShortcode.php  
  1.  
  2. /** 
  3. */ 
  4. public function __construct() { 
  5. add_shortcode( 'rtmedia_gallery', array( 'RTMediaGalleryShortcode', 'render' ) ); 
  6. add_action( 'wp_ajax_rtmedia_get_template', array( &$this, 'ajax_rtmedia_get_template' ) ); 
  7. add_action( 'wp_ajax_nopriv_rtmedia_get_template', array( &$this, 'ajax_rtmedia_get_template' ) ); 
  8.  
  9. // get template for json response