Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
add_action( 'init', 'yoursite_init' );
function yoursite_init() {
'label'=> 'Dishes',
'public'=> true,
register_taxonomy('Main Ingredient', array('dish'), array(
'hierarchical' => true,
'label' => 'Main Ingredient',
'singular_label' => 'Main Ingredient',
'rewrite' => true
global $wp_rewrite;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.