I have a Resources CPT with ACF to gather additional information. One of the fields is a File field. I want to display the File name in the Dashboard listing. The code I’m using doesn’t work (not expecting it to either for this application). It is displaying the record ID. What is the correct code to ouput the File name to the Dashboard listing?
Here is a screenshot of the Dashboard listing:
https://share.getcloudapp.com/Blu48jmd
Here are the settings in ACF:
https://share.getcloudapp.com/L1udjGwY
Here is my code:
https://share.getcloudapp.com/X6uePkyG
Thanks
$five_mc_resources_pdf = get_field('five_mc_resources_pdf', $post_id);
echo $five_mc_resources_pdf['file_name'];
https://www.advancedcustomfields.com/resources/file/