Hi Eliot, thanks for the Reply!
Wow, ist so simple 🙂
$images = get_field('gallery', false, false);
$image_id = $images[0];
if ( $image_id ) {
set_post_thumbnail( $post->ID, $image_id );
}
But Can i used the ACF Field in the function.php
Is this not new feature in ACF 4.3 ?