<content>

Default formatting for full download content.


Usage

  1. // assign value 
  2. $content = 'dynamic_tag'; 
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$content]"); 
  1. // assign value 
  2. $content = 'dynamic_tag'; 
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$content]"); 
  6. echo $result;  

Defined (1)

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

/includes/template-functions.php  
  1. /* @since 1.0.8.4 
  2. * @param string $content Content before filtering 
  3. * @return string $content Content after filtering 
  4. */ 
  5. function edd_downloads_default_content( $content ) { 
  6. return do_shortcode( wpautop( $content ) ); 
  7.  
  8. /** 
  9. * Gets the download links for each item purchased