WP-3069 Added allowed values function for profile visibility.