get acf custom field php code example
Example 1: acf get field
$value = get_field( "text_field" );
if( $value ) {
echo $value;
} else {
echo 'empty';
}
Example 2: advanced custom forms php
<img src="<?php the_field('image_test'); ?>" alt="" />