Hello,
I would like to change “select a category” to “Any Category”
I tried to create a code in PHP, but my code doesn’t work. I read a documentation too.
apply_filters( ‘woocommerce_product_categories_widget_args’,’teste’ );
function teste( $list_args ) {
$list_args[‘show_option_all’] = __(‘Any Category’);
return $list_args;
}
My code is wrong?
Thanks for help.