get selected option acf field code example
Example: get option field acf
<?php
$variable = get_field('field_name', 'option');
// do something with $variable
?>
<?php
$variable = get_field('field_name', 'option');
// do something with $variable
?>