Support

Account

Home Forums ACF PRO Return Value File Array Reply To: Return Value File Array

  • Hi @funkman733

    Thanks for the question.

    You can load values from a media attachment by passing a second parameter containng the $attachment->ID

    You could make use of the get_field() function as follows:

    $file = get_field('field_name', $attachment->ID);
    echo $file['url'];