Home Forums ACF PRO Get URL from ACF Form Upload


Get URL from ACF Form Upload

  • 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):

    What I’m trying to do is obtain the complete file URL instead, again for example:

    Can anyone kindly point me in the right direction!


  • 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?

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Get URL from ACF Form Upload’ is closed to new replies.