示例#1
0
文件: tags.php 项目: ecerta/webcomic
 /**
  * Is the query for any single webcomic?
  * 
  * <code class="php">
  * if ( is_webcomic() ) {
  * 	// this is any single webcomic page
  * }
  * 
  * if ( is_webcomic( true ) ) {
  * 	// this is any single webcomic page that has been dynamically requested
  * }
  * 
  * if ( is_singular( 'webcomic42' ) ) {
  * 	// this is a single webcomic page belonging to collection 42
  * }
  * </code>
  * 
  * @package Webcomic
  * @param boolean $dynamic Check for dynamically-requested webcomics.
  * @return boolean
  * @uses WebcomicTag::is_webcomic()
  */
 function is_webcomic($dynamic = false)
 {
     return WebcomicTag::is_webcomic($dynamic);
 }