Remove prefix from tags and cats

Closes #11297
This commit is contained in:
Mike Jolley 2016-07-27 11:47:30 +01:00
parent 052f4d9cc3
commit 31fdfcdec4
1 changed files with 25 additions and 25 deletions

View File

@ -60,20 +60,20 @@ class WC_Post_types {
apply_filters( 'woocommerce_taxonomy_args_product_cat', array(
'hierarchical' => true,
'update_count_callback' => '_wc_term_recount',
'label' => __( 'Product Categories', 'woocommerce' ),
'label' => __( 'Categories', 'woocommerce' ),
'labels' => array(
'name' => __( 'Product Categories', 'woocommerce' ),
'singular_name' => __( 'Product Category', 'woocommerce' ),
'name' => __( 'Categories', 'woocommerce' ),
'singular_name' => __( 'Category', 'woocommerce' ),
'menu_name' => _x( 'Categories', 'Admin menu name', 'woocommerce' ),
'search_items' => __( 'Search Product Categories', 'woocommerce' ),
'all_items' => __( 'All Product Categories', 'woocommerce' ),
'parent_item' => __( 'Parent Product Category', 'woocommerce' ),
'parent_item_colon' => __( 'Parent Product Category:', 'woocommerce' ),
'edit_item' => __( 'Edit Product Category', 'woocommerce' ),
'update_item' => __( 'Update Product Category', 'woocommerce' ),
'add_new_item' => __( 'Add New Product Category', 'woocommerce' ),
'new_item_name' => __( 'New Product Category Name', 'woocommerce' ),
'not_found' => __( 'No Product Category found', 'woocommerce' ),
'search_items' => __( 'Search Categories', 'woocommerce' ),
'all_items' => __( 'All Categories', 'woocommerce' ),
'parent_item' => __( 'Parent Category', 'woocommerce' ),
'parent_item_colon' => __( 'Parent Category:', 'woocommerce' ),
'edit_item' => __( 'Edit Category', 'woocommerce' ),
'update_item' => __( 'Update Category', 'woocommerce' ),
'add_new_item' => __( 'Add New Category', 'woocommerce' ),
'new_item_name' => __( 'New Category Name', 'woocommerce' ),
'not_found' => __( 'No categories found', 'woocommerce' ),
),
'show_ui' => true,
'query_var' => true,
@ -98,20 +98,20 @@ class WC_Post_types {
'update_count_callback' => '_wc_term_recount',
'label' => __( 'Product Tags', 'woocommerce' ),
'labels' => array(
'name' => __( 'Product Tags', 'woocommerce' ),
'singular_name' => __( 'Product Tag', 'woocommerce' ),
'name' => __( 'Tags', 'woocommerce' ),
'singular_name' => __( 'Tag', 'woocommerce' ),
'menu_name' => _x( 'Tags', 'Admin menu name', 'woocommerce' ),
'search_items' => __( 'Search Product Tags', 'woocommerce' ),
'all_items' => __( 'All Product Tags', 'woocommerce' ),
'edit_item' => __( 'Edit Product Tag', 'woocommerce' ),
'update_item' => __( 'Update Product Tag', 'woocommerce' ),
'add_new_item' => __( 'Add New Product Tag', 'woocommerce' ),
'new_item_name' => __( 'New Product Tag Name', 'woocommerce' ),
'popular_items' => __( 'Popular Product Tags', 'woocommerce' ),
'separate_items_with_commas' => __( 'Separate Product Tags with commas', 'woocommerce' ),
'add_or_remove_items' => __( 'Add or remove Product Tags', 'woocommerce' ),
'choose_from_most_used' => __( 'Choose from the most used Product tags', 'woocommerce' ),
'not_found' => __( 'No Product Tags found', 'woocommerce' ),
'search_items' => __( 'Search Tags', 'woocommerce' ),
'all_items' => __( 'All Tags', 'woocommerce' ),
'edit_item' => __( 'Edit Tag', 'woocommerce' ),
'update_item' => __( 'Update Tag', 'woocommerce' ),
'add_new_item' => __( 'Add New Tag', 'woocommerce' ),
'new_item_name' => __( 'New Tag Name', 'woocommerce' ),
'popular_items' => __( 'Popular Tags', 'woocommerce' ),
'separate_items_with_commas' => __( 'Separate Tags with commas', 'woocommerce' ),
'add_or_remove_items' => __( 'Add or remove Tags', 'woocommerce' ),
'choose_from_most_used' => __( 'Choose from the most used tags', 'woocommerce' ),
'not_found' => __( 'No tags found', 'woocommerce' ),
),
'show_ui' => true,
'query_var' => true,