Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would remove Tag capability from classic Post type, can I use remove_theme_support( $feature ); and how to do this ?

Thanks in advance

share|improve this question
unregister_taxonomy('post_tag') ? – One Trick Pony Apr 4 '12 at 19:41
@OneTrickPony Unfortunately not yet... – m0r7if3r Apr 4 '12 at 19:45

1 Answer

up vote 2 down vote accepted

You can do it with something like this:

add_action( 'init', 'wpse48017_remove_tags' );
function wpse48017_remove_tags() {
    global $wp_taxonomies;
    $tax = 'post_tag'; // this may be wrong, I never remember the names on the defaults
    if( taxonomy_exists( $tax ) )
        unset( $wp_taxonomies[$tax] );
}

There was a move to get a function implemented but that hasn't hit yet.

share|improve this answer
Thank you @m0r7if3r , this is working fine – zagriyen Apr 4 '12 at 20:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.