JoeHana
9/2/2013 - 2:30 AM

Set custom measurement units

Set custom measurement units

<?php

/**
 * Set custom measurement units
 */
 
add_filter( 'wpsight_measurement_units', 'custom_measurement_units' );
 
function custom_measurement_units($args) {
  
    $args = array(
		'' 	    => '',
		'm2'    => 'm&sup2;',
		'sqft'  => 'sq ft',
		'sqyd'  => 'sq yd',
		'acres' => 'acre(s)',
		'custom' => 'custom'
	);
	
	return $args;
	
}