edd_price

The Easy Digital Downloads edd price shortcode.


Usage

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

Defined (1)

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

/includes/shortcodes.php  
  1. $id = get_the_ID(); 
  2.  
  3. return edd_price( $id, false, $price_id ); 
  4. add_shortcode( 'edd_price', 'edd_download_price_shortcode' ); 
  5.  
  6. /** 
  7. * Receipt Shortcode 
  8. * Shows an order receipt.