Last active
November 5, 2020 13:10
-
-
Save axxe16/3c2575493ca8fca417d90a67cbb87c07 to your computer and use it in GitHub Desktop.
Rimuove supporto ai TAG nei post #remove #tag #article #post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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