示例#1
0
文件: tags.php 项目: ecerta/webcomic
 /**
  * Is the query for a Webcomic-recognized attachment?
  * 
  * <code class="php">
  * if ( is_webcomic_attachment() ) {
  * 	// this is a Webcomic-recognized attachment
  * }
  * 
  * if ( is_webcomic_attachment( 'webcomic42' ) ) {
  * 	// this is a webcomic-recognized attachment in collection 42
  * }
  * </code>
  * 
  * @package Webcomic
  * @param mixed $collection Collection ID or an array of these to check.
  * @return boolean
  * @uses WebcomicTag::is_webcomic_attachment()
  */
 function is_webcomic_attachment($collection = '')
 {
     return WebcomicTag::is_webcomic_attachment();
 }