Esempio n. 1
0
 /**
  * Return hidden print form fields.
  * 
  * <code class="php">
  * // render hidden domestic print form fields for the current webcomic
  * webcomic_print_fields( 'domestic' );
  * 
  * // render hidden original print form fields for the current webcomic
  * webcomic_print_fields( 'original' );
  * 
  * // render hidden shopping cart form fields
  * webcomic_print_fields( 'cart' );
  * </code>
  * 
  * @package Webcomic
  * @param string $type The type of form fields to return, one of 'domestic', 'international', 'original', or 'cart'.
  * @param mixed $the_post The post object or ID to get print adjustments for.
  * @uses WebcomicTag::webcomic_print_fields()
  */
 function webcomic_print_fields($type, $the_post = false)
 {
     echo WebcomicTag::webcomic_print_fields($type, $the_post);
 }