woocommerce_attribute_default_is_variation filter-hookWC 1.0

Usage

add_filter( 'woocommerce_attribute_default_is_variation', 'wp_kama_woocommerce_attribute_default_is_variation_filter', 10, 2 );

/**
 * Function for `woocommerce_attribute_default_is_variation` filter-hook.
 * 
 * @param  $1            
 * @param  $product_type 
 *
 * @return 
 */
function wp_kama_woocommerce_attribute_default_is_variation_filter( $1, $product_type ){

	// filter...
	return $1;
}
$1
-
$product_type
-

Where the hook is called

WC_AJAX::add_attribute()
woocommerce_attribute_default_is_variation
woocommerce/includes/class-wc-ajax.php 637-641
apply_filters(
	'woocommerce_attribute_default_is_variation',
	'variable' === $product_type ? 1 : 0,
	$product_type
)

Where the hook is used in WooCommerce

Usage not found.