• Hi guys,

    I was testing out custom taxonomies and added a test taxonomy to my site using the code below. But now I can’t get rid of it! If I just delete the code, I get the error ‘Invalid taxonomy’.

    Can anyone tell me how to delete it please?? Thanks 🙂

    ‘function people_init() {
    // create a new taxonomy
    register_taxonomy(
    ‘people’,
    ‘post’,
    array(
    ‘label’ => __(‘People’),
    ‘sort’ => true,
    ‘args’ => array(‘orderby’ => ‘term_order’),
    ‘rewrite’ => array(‘slug’ => ‘person’)
    )
    );
    }
    add_action( ‘init’, ‘people_init’ );’

  • The topic ‘De-register custom taxonomy’ is closed to new replies.