Field::getName()
Version 3.8
Technical name of the field
Version 3.8
Technical name of the field
Return the technical name of the field.
String
Show technical name and value of the fields:
foreach ( $Order->getFields() as $Field ){
$txt .= "<div>{$Field->getName()}: {$Field->getValue()}</div>";
}