edd_downloads

The Easy Digital Downloads edd downloads shortcode.


Usage

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

Defined (1)

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

/includes/shortcodes.php  
  1. endif; 
  2.  
  3. return apply_filters( 'downloads_shortcode', $display, $atts, $atts['buy_button'], $atts['columns'], '', $downloads, $atts['excerpt'], $atts['full_content'], $atts['price'], $atts['thumbnails'], $query ); 
  4. add_shortcode( 'downloads', 'edd_downloads_query' ); 
  5. add_shortcode( 'edd_downloads', 'edd_downloads_query' ); 
  6.  
  7. /** 
  8. * Price Shortcode 
  9. * Shows the price of a download.