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;
}