示例#1
0
文件: tags.php 项目: ecerta/webcomic
 /**
  * Does the current webcomic allow transcribing?
  * 
  * <code class="php">
  * if ( webcomic_transcripts_open() ) {
  * 	// the current post allows transcribing
  * }
  * 
  * if ( webcomic_transcripts_open( 42 ) {
  * 	// the post with an ID of 42 allows transcribing
  * }
  * </code>
  * 
  * @package Webcomic
  * @param mixed $the_post Post object or ID to check for transcribing permissions.
  * @return boolean
  * @uses WebcomicTag::webcomic_transcripts_open()
  */
 function webcomic_transcripts_open($the_post = false)
 {
     return WebcomicTag::webcomic_transcripts_open($the_post);
 }