download_discounts

The Easy Digital Downloads download discounts shortcode.


Usage

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

Defined (1)

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

/includes/shortcodes.php  
  1.  
  2. $discounts_list .= '</ul>'; 
  3.  
  4. return $discounts_list; 
  5. add_shortcode( 'download_discounts', 'edd_discounts_shortcode' ); 
  6.  
  7. /** 
  8. * Purchase Collection Shortcode 
  9. * Displays a collection purchase link for adding all items in a taxonomy term