Skip to content

Instantly share code, notes, and snippets.

@stevenkword
Last active September 26, 2016 06:54
Show Gist options
  • Save stevenkword/79ce390b0796cb0eb89790400d373c9c to your computer and use it in GitHub Desktop.
Save stevenkword/79ce390b0796cb0eb89790400d373c9c to your computer and use it in GitHub Desktop.
<?php
register_taxonomy( 'genre', 'book', array(
'label' => __( 'Genre' ),
'public' => false,
'rewrite' => false,
'hierarchical' => true,
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment