Glossary Term
is_attachment()
3 tags
1 category
is_attachment() — Determines whether the query is for an existing attachment page. For more information on this and similar theme functions, check out the {
Inputs: $attachment (int|string|int[]|string[]): Optional. Attachment ID, title, slug, or array of such to check against. Default empty.
Returns bool: Whether the query is for an existing attachment page.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
