[ad_1]
I need to disable Tag and Category editing.
In the past I was using:
unregister_taxonomy_for_object_type( ‘post_tag’, ‘post’ )
But it is throwing errors in version 6.0.1.
Is there any way to achieve this now?
[ad_2]
According to the [documentation](https://developer.wordpress.org/reference/functions/unregister_taxonomy_for_object_type/), nothing has changed regarding this function since it was added in 3.7.
What’s the error you’re seeing?