Custom CPT – Programmatically create categories to assign CPT when a new one is created

Custom CPT – Programmatically create categories to assign CPT when a new one is created