Set a Custom Field Value to a Schema Property

This example shows how to set the “_payments_accepted” custom field value to the paymentsAccepted property in the Schema AutoRepair type. Note the leading underscore in the “_payments_accepted” custom field name, which has become an unofficial standard to keep custom field names (and their values) from being shown on the webpage automatically by some themes.

See the $mod variable documentation for more information on the $mod array and its elements.