/** * Does the current webcomic have any Webcomic-recognized attachments? * * <code class="php"> * if ( has_webcomic_attachments() ) { * // the current post has webcomic-recognized attachments * } * * if ( has_webcomic_attachments( 42 ) ) { * // the post with an ID of 42 has webcomic-recognized attachments * } * </code> * * @package Webcomic * @param mixed $the_post Post object or ID to check. * @return boolean * @uses WebcomicTag::has_webcomic_attachments() */ function has_webcomic_attachments($the_post = false) { return WebcomicTag::has_webcomic_attachments($the_post); }