Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the community forum?
All Topics
Eric Kubiak

hide product variation

Hello
How can i hide product variation menu in the sidebar of the back end
Thanks

2 months, 4 weeks ago
Stefan
Developer

You can disable it by using the following snippet. We do the same to enable it.

add_filter( 'woocommerce_register_post_type_product_variation', function( $args ){
	$args['show_ui'] = false;
	$args['show_in_menu'] = false;
	return $args;
}, 11, 1 );
2 months, 4 weeks ago

You must be logged in to reply to this topic.