function mention_taxonomy() { register_taxonomy('mentions', 'post', array('show_ui' => false)); p2_flush_rewrites(); }
function mention_taxonomy() { register_taxonomy('mentions', 'post', array('hierarchical' => false, 'label' => 'Mentions', 'query_var' => true, 'rewrite' => true)); p2_flush_rewrites(); }