I’ve create options page.
I’ve also create a group.
Now in rules I’ve added grupo field in options page.
I’ve a problem with code, works only outside options page:
<?php
$hero = get_field('test');
if( $hero ): ?>
<?php echo $hero['gruppotest']; ?>
<?php endif; ?>
Works only if field is outside option page.
I’ve insert ‘option’ but I received an error
<?php echo $hero['gruppotest', option]; ?>
Thanks