'[order-billing-state-full-name]'); public $display_name = 'Billing state full name'; public function getValue($post, $field) { $field['value'] = '_billing_country'; $countryCode = parent::getValue($post, $field); $field['value'] = '_billing_state'; $stateCode = parent::getValue($post, $field); return $this->getStateFullName($countryCode, $stateCode); } }