In custom_field_template_filter( ) you currently use get_the_category( ). I would like to request that you expand that a bit and use get_object_taxonomies( ). Perhaps rather than a comma-separated list of categories, the new value for this setting could be a colon, comma input. Like this:
To remain backwards compatible, you could assume the default taxonomy of 'category' if one is not specified.