cocowhip_retailer_category
// Register Custom Taxonomy
function cocowhip_retailer_category() {
$labels = array(
'name' => _x( 'Cocowhip Retailer Categories', 'Taxonomy General Name', 'cocowhip_retailer_category' ),
'singular_name' => _x( 'Cocowhip Retailer Category', 'Taxonomy Singular Name', 'cocowhip_retailer_category' ),
'menu_name' => __( 'Cocowhip Retailer Category', 'cocowhip_retailer_category' ),
'all_items' => __( 'All Cocowhip Retailer Categories', 'cocowhip_retailer_category' ),
'parent_item' => __( 'Parent Cocowhip Retailer Category', 'cocowhip_retailer_category' ),
'parent_item_colon' => __( 'Parent Cocowhip Retailer Category:', 'cocowhip_retailer_category' ),
'new_item_name' => __( 'New Item Name', 'cocowhip_retailer_category' ),
'add_new_item' => __( 'Add New Cocowhip Retailer Category', 'cocowhip_retailer_category' ),
'edit_item' => __( 'Edit Cocowhip Retailer Category', 'cocowhip_retailer_category' ),
'update_item' => __( 'Update Cocowhip Retailer Category', 'cocowhip_retailer_category' ),
'view_item' => __( 'View Cocowhip Retailer Category', 'cocowhip_retailer_category' ),
'separate_items_with_commas' => __( 'Separate Cocowhip Retailer Categories with commas', 'cocowhip_retailer_category' ),
'add_or_remove_items' => __( 'Add or remove Cocowhip Retailer Categories', 'cocowhip_retailer_category' ),
'choose_from_most_used' => __( 'Choose from the most used', 'cocowhip_retailer_category' ),
'popular_items' => __( 'Popular Cocowhip Retailer Categories', 'cocowhip_retailer_category' ),
'search_items' => __( 'Search Cocowhip Retailer Categories', 'cocowhip_retailer_category' ),
'not_found' => __( 'Not Found', 'cocowhip_retailer_category' ),
'items_list' => __( 'Cocowhip Retailer Categories list', 'cocowhip_retailer_category' ),
'items_list_navigation' => __( 'Cocowhip Retailer Categories list navigation', 'cocowhip_retailer_category' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
);
register_taxonomy( 'cocowhip_retailer_category', array( 'cocowhip_retailer' ), $args );
}
add_action( 'init', 'cocowhip_retailer_category', 0 );