从选项页面获取字段值

<?php echo get_field('my_field_name', 'option'); ?>

这将通过 ACF 创建的选项页面回显“my_field_name”的值。