download_cart

The Easy Digital Downloads download cart shortcode.


Usage

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

Defined (1)

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

/includes/shortcodes.php  
  1. /* @return string 
  2. */ 
  3. function edd_cart_shortcode( $atts, $content = null ) { 
  4. return edd_shopping_cart(); 
  5. add_shortcode( 'download_cart', 'edd_cart_shortcode' ); 
  6.  
  7. /** 
  8. * Login Shortcode 
  9. * Shows a login form allowing users to users to log in. This function simply