Home / Admin / exclude meta key from duplicating products
Duplicate Snippet

Embed Snippet on Your Site

exclude meta key from duplicating products

exclude meta key from duplicating products

Code Preview
php
<?php
add_filter(
	'woocommerce_duplicate_product_exclude_meta',
	function( $meta_to_exclude ) {
		$meta_to_exclude[] = 'meta_key_to_exclude';
		return $meta_to_exclude;
	}
);

Comments

Add a Comment