Skip to content

Instantly share code, notes, and snippets.

@axxe16

axxe16/functions.php

Last active Nov 5, 2020
Embed
What would you like to do?
Rimuove supporto ai TAG nei post #remove #tag #article #post
<?php
// Remove tags support from posts
// *****
function myprefix_unregister_tags() {
unregister_taxonomy_for_object_type('post_tag', 'post');
}
add_action('init', 'myprefix_unregister_tags');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.