Is the query for a comic?
is_webcomic( mixed $collections = null, mixed $posts = null, mixed $relative = null, array $args = [] ) : bool
Parameters
mixed
$collections
Optional collections to check for.
mixed
$posts
Optional posts to check for.
mixed
$relative
Optional reference post.
array
$args
Optional arguments.
Return
bool
Uses
- is_a_webcomic()
The post argument is always set to the queried object. - is_single()
- is_singular()