I have a section in a plugin i am making where admin can add custom taxonomies and custom post types as required. the admin will create a custom taxonomy by selecting a name(that will be used as slug), then create a custom post type and select the above created taxonomy as it's parent.
those are been added to a private DB table.
action('init',)... i have a class that runs through this database and register the custom post type/ taxonomies create previously and
register_taxonomy_for_object_type to connect things up.
now my issue is. when the admin go back to the same screen and edit a taxonomy name(which also changes the slug) i update the DB according to the new changes. although my class see the changes and register them,when i refresh the page it doesn't seem to actually change.
My question is: is there anything i need to do to update that taxonomy ?
Sorry for the long text thanks.