Change Variation Price Format in Category Listing and Single Product Display

Currently Woocommerce shows the price range of products that have variations as:

Price from $300 to $1200

This can be changed to From $300 by adding the following to THEME/functions.php

// change variations price display to From $****
add_filter('woocommerce_variable_price_html', 'custom_variation_price', 10, 2);

function custom_variation_price( $price, $product ) {

	$price = '';

	if ( !$product->min_variation_price || $product->min_variation_price !== $product->max_variation_price ) {
		$price .= '<span class="from">' . _x('From', 'min_price', 'woocommerce') . ' </span>';
		$price .= woocommerce_price($product->get_price());
	}

	return $price;
}