Ok, thanks for your help.
No, still don’t see how it goes in that file.
The example really isn’t very clear at all as to where the different pieces of code are supposed to go.
Ok, looks like I found where it goes:
wp-content\plugins\advanced-custom-fields\core\controllers\location.php
I have looked through the explanation, but it isn’t clear where the example code is supposed to be added.
Which file is this code being added to?
add_filter('acf/location/rule_types', 'acf_location_rules_types');
function acf_location_rules_types( $choices )
{
$choices['Basic']['user'] = 'User';
return $choices;
}
Great. Thanks for the heads up on that.
WOW!
I wasn’t expecting you to solve the problem, so thank you.
And thank you even more so for such a fast response.