woocommerce_attribute_default_visibility filter-hookWC 1.0

Usage

add_filter( 'woocommerce_attribute_default_visibility', 'wp_kama_woocommerce_attribute_default_visibility_filter' );

/**
 * Function for `woocommerce_attribute_default_visibility` filter-hook.
 * 
 * @param  $1 
 *
 * @return 
 */
function wp_kama_woocommerce_attribute_default_visibility_filter( $1 ){

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

Where the hook is called

WC_AJAX::add_attribute()
woocommerce_attribute_default_visibility
woocommerce/includes/class-wc-ajax.php 573
$attribute->set_visible( apply_filters( 'woocommerce_attribute_default_visibility', 1 ) );

Where the hook is used in WooCommerce

Usage not found.