acf get field name code example
Example 1: get field acf
$content = get_field('content', $post_id);
Example 2: acf get field
$value = get_field( "text_field" );
if( $value ) {
echo $value;
} else {
echo 'empty';
}
Example 3: get field object acf
get_field_object('content', post_id);