woocommerce_get_availability_text filter-hookWC 1.0

Usage

add_filter( 'woocommerce_get_availability_text', 'wp_kama_woocommerce_get_availability_text_filter', 10, 2 );

/**
 * Function for `woocommerce_get_availability_text` filter-hook.
 * 
 * @param  $availability 
 * @param  $that         
 *
 * @return 
 */
function wp_kama_woocommerce_get_availability_text_filter( $availability, $that ){

	// filter...
	return $availability;
}
$availability
-
$that
-

Where the hook is called

WC_Product::get_availability_text()
woocommerce_get_availability_text
woocommerce/includes/abstracts/abstract-wc-product.php 2119
return apply_filters( 'woocommerce_get_availability_text', $availability, $this );

Where the hook is used in WooCommerce

Usage not found.