Home Forums WC Vendors Pro Support Changing the label for Product Categories with filter "wcv_product_categories" Reply To: Changing the label for Product Categories with filter "wcv_product_categories"

#64945
Anna
Member

Hello,
For the checklist, unfortunately there is not a built-in filter for changing the label.
If you really want to change it, then you can alter the core file. However, this will not be saved after an update, and you will have to change it again.
Here is where to find it:
plugins/wc-vendors-pro/public/forms/class-wcvendors-pro-product-form.php
Line 597. The lines 595-599 look like this:

$field = array( 
				'id'  	=> 'product_cat_list',
				'label' => __( 'Categories', 'wcvendors-pro' ), 
				'class'	=> 'product_cat_checklist'
			); 

Change the label to your desired text.
'label' => __( 'My Label', 'wcvendors-pro' ),