I have several custom post types : Testimony, questions and FAQ. They all have a taxonomy called "category". In the record function of the custom post type they all have this line:
'taxonomies' => array( 'category' ),
The problem is :If I start creating "categories" for one of the custom post types, it also creates them for the other custom post types, as if there was only one taxonomy called "category", common to the set of custom post types
The SQL query which consists in renaming a taxonomy works if it targets only one taxonomy.
UPDATE `wp_term_taxonomy` SET `taxonomy` = '<new taxonomy name>' WHERE `taxonomy` = '<old taxonomy name>';
Same with the "rename taxonomy" plugin.
Is there a way to rename custom post type taxonomy by making them independent of each other? I tried to modify the name of a taxonomy directly in the registration function, but obviously it deleted all the categories I had created