woocommerce_format_dimensions filter-hookWC 1.0

Usage

add_filter( 'woocommerce_format_dimensions', 'wp_kama_woocommerce_format_dimensions_filter', 10, 2 );

/**
 * Function for `woocommerce_format_dimensions` filter-hook.
 * 
 * @param  $dimension_string 
 * @param  $dimensions       
 *
 * @return 
 */
function wp_kama_woocommerce_format_dimensions_filter( $dimension_string, $dimensions ){

	// filter...
	return $dimension_string;
}
$dimension_string
-
$dimensions
-

Where the hook is called

wc_format_dimensions()
woocommerce_format_dimensions
woocommerce/includes/wc-formatting-functions.php 1386
return apply_filters( 'woocommerce_format_dimensions', $dimension_string, $dimensions );

Where the hook is used in WooCommerce

Usage not found.