Support

Account

Home Forums Backend Issues (wp-admin) Uploading an image

Unread

Uploading an image

    • Gonzalo

    • February 12, 2019 at 3:15 am

    Hi,

    I need to upload an image to a custom field where the field name is banner_photos and the key is field_55ff63951614f.

    I am trying :

    $filename = self::download_image ($banner);
    update_field('banner_field', $filename, $post_id); 

    But it doesn’t work. What I am doing wrong?

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.