Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_attached_file()

3 tags 1 category

get_attached_file() — Retrieves attached file path based on attachment ID. By default the path will go through the {

Inputs: $attachment_id (int): Attachment ID. $unfiltered (bool): Optional. Whether to skip the ‘get_attached_file’ filter. Default false.

Returns string|false: The file path to where the attached file should be, false otherwise.

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…