Hi All,
I think I’m missing something very obvious and now can’t see for looking!
I use an ACF Frontend Form, this allows a post to be created and a file to be uploaded.
I then use add_action('acf/save_post', 'my_save_post');
in my functions file along with $file = $_POST['acf']['field_5947df23c2fd6'];
This works fine and returns the below (as an example):
url=demo-list.csv&size=61&type=application%2Fvnd.ms-excel
What I’m trying to do is obtain the complete file URL instead, again for example:
https://www.domain.com/wp-content/uploads/2017/08/demo-list.csv
Can anyone kindly point me in the right direction!
Thanks
Managed to solve this – simply needed to change the priority on the add_action from 1 to 20
Hi peggysmiller,
It depends on what you’re trying to do? Can you explain a little more and perhaps share what you already have?