Support

Account

Home Forums General Issues Conditionally set image field Reply To: Conditionally set image field

  • You can set the default value of an image field using an acf/prepare_field filter.

    
    $field['default_value'] = $attachment_id;