If you enter a dimension in the WooCommerce product page it will display that in the Additional Info tab, but it doesn't state which plain it is, whether length, width, or height. How can I get it to display this? In my product, in most cases, I will only enter a length and need that to be clear.
Edit: Received an answer in the Wordpress forum, noted below incase it helps anyone else..
add_filter('woocommerce_format_dimensions', 'my_custom_dimensions', 10, 2);
function my_custom_dimensions( $dim_string, $dimensions ) {
$dim_string = 'Length: ' . $dimensions['length'] . ' ' . get_option( 'woocommerce_dimension_unit' );
return $dim_string;
}