woocommerce_get_stock_html filter-hookWC 1.0

Usage

add_filter( 'woocommerce_get_stock_html', 'wp_kama_woocommerce_get_stock_html_filter', 10, 2 );

/**
 * Function for `woocommerce_get_stock_html` filter-hook.
 * 
 * @param  $html    
 * @param  $product 
 *
 * @return 
 */
function wp_kama_woocommerce_get_stock_html_filter( $html, $product ){

	// filter...
	return $html;
}
$html
-
$product
-

Where the hook is called

wc_get_stock_html()
woocommerce_get_stock_html
woocommerce/includes/wc-template-functions.php 3684
return apply_filters( 'woocommerce_get_stock_html', $html, $product );

Where the hook is used in WooCommerce

Usage not found.