woocommerce_attribute filter-hookWC 1.0

Usage

add_filter( 'woocommerce_attribute', 'wp_kama_woocommerce_attribute_filter', 10, 3 );

/**
 * Function for `woocommerce_attribute` filter-hook.
 * 
 * @param  $wpautop   
 * @param  $attribute 
 * @param  $values    
 *
 * @return 
 */
function wp_kama_woocommerce_attribute_filter( $wpautop, $attribute, $values ){

	// filter...
	return $wpautop;
}
$wpautop
-
$attribute
-
$values
-

Where the hook is called

wc_display_product_attributes()
woocommerce_attribute
woocommerce/includes/wc-template-functions.php 3628
'value' => apply_filters( 'woocommerce_attribute', wpautop( wptexturize( implode( ', ', $values ) ) ), $attribute, $values ),

Where the hook is used in WooCommerce

Usage not found.