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

1 week, 4 days 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 );
1 week, 4 days ago

You must be logged in to reply to this topic.