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

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.


Thank you to all of our customers!


Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #64921
    Dan Feeley


    I am attempting to use the following filter to change the label of the product categories but it does not work. I can change the label for other fields with no problems.

    add_filter('wcv_product_categories', 'custom_wcv_product_categories');
    function custom_wcv_product_categories ( $args ){
    	$args['label'] = 'My Label';
    	return $args;

    Is there something special I need to do for this field? Thank you


    If you are referring to the label within the product add/edit front end form…
    Are you using the checkbox or drop-down selector option?

    Dan Feeley

    Yes, that is correct. We are using the checkbox selector option.


    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:
    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' ),

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.