acf get fields of acf field group get_fields code example
Example: acf get field
$value = get_field( "text_field" );
if( $value ) {
echo $value;
} else {
echo 'empty';
}
$value = get_field( "text_field" );
if( $value ) {
echo $value;
} else {
echo 'empty';
}