Add item_link and item_link_description labels to Products, Categories and Tags

This commit is contained in:
Albert Juhé Lluveras 2021-04-27 15:09:33 +02:00
parent ef61092ebd
commit 5ab690e2a0
1 changed files with 18 additions and 12 deletions

View File

@ -104,6 +104,8 @@ class WC_Post_Types {
'add_new_item' => __( 'Add new category', 'woocommerce' ),
'new_item_name' => __( 'New category name', 'woocommerce' ),
'not_found' => __( 'No categories found', 'woocommerce' ),
'item_link' => __( 'Product Category Link', 'woocommerce' ),
'item_link_description' => __( 'A link to a product category.', 'woocommerce' ),
),
'show_ui' => true,
'query_var' => true,
@ -146,6 +148,8 @@ class WC_Post_Types {
'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' ),
'item_link' => __( 'Product Tag Link', 'woocommerce' ),
'item_link_description' => __( 'A link to a product tag.', 'woocommerce' ),
),
'show_ui' => true,
'query_var' => true,
@ -335,6 +339,8 @@ class WC_Post_Types {
'filter_items_list' => __( 'Filter products', 'woocommerce' ),
'items_list_navigation' => __( 'Products navigation', 'woocommerce' ),
'items_list' => __( 'Products list', 'woocommerce' ),
'item_link' => __( 'Product Link', 'woocommerce' ),
'item_link_description' => __( 'A link to a product.', 'woocommerce' ),
),
'description' => __( 'This is where you can add new products to your store.', 'woocommerce' ),
'public' => true,