Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- register_taxonomy( 'product_range_cat',
- array('product'),
- array('hierarchical' => true,
- 'labels' => array(
- 'name' => __( 'Product Categories', 'bonestheme' ),
- 'singular_name' => __( 'Product Category', 'bonestheme' ),
- 'search_items' => __( 'Search Product Categories', 'bonestheme' ),
- 'all_items' => __( 'All Product Categories', 'bonestheme' ),
- 'parent_item' => __( 'Parent Product Category', 'bonestheme' ),
- 'parent_item_colon' => __( 'Parent Product Category:', 'bonestheme' ),
- 'edit_item' => __( 'Edit Product Category', 'bonestheme' ),
- 'update_item' => __( 'Update Product Category', 'bonestheme' ),
- 'add_new_item' => __( 'Add New Product Category', 'bonestheme' ),
- 'new_item_name' => __( 'New Product Category Name', 'bonestheme' )
- ),
- 'show_ui' => true,
- 'query_var' => true,
- 'rewrite' => array( 'slug' => 'product-category' ),
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement