Skip to content

Instantly share code, notes, and snippets.

Created May 1, 2019 14:29
What would you like to do?
Disable Tags Completely in WordPress
//* Do NOT include the opening php tag above. Copy the code shown below.
function unregister_tags() {
unregister_taxonomy_for_object_type( 'post_tag', 'post' );
add_action( 'init', 'unregister_tags' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment