/** Gets the state from the current session */ public static function get_state() { if (self::get_customer_session('state')) { return trim(self::get_customer_session('state'), ':'); } return fflcommerce_countries::get_default_customer_state(); }