function my_price_function($price){ if( ! is_numeric( $price) ) return $price; return $price * 1.60; }