The simple solution:
register_taxonomy()
now has support for that built in via the show_admin_column
setting passed via arguments. developer.wordpress.org/reference/functions/register_taxonomy.
'show_admin_column' => true,
If you aren’t registering the taxonomy yourself, you can still alter the args via the register_taxonomy_args
filter developer.wordpress.org/reference/hooks/register_taxonomy_args