Support

Account

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

Unread

Uploading an image

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

The topic ‘Uploading an image’ is closed to new replies.