Skip to content

wsform-normalize-webhook – README

This plugin has the sole intention of providing a better webhook format than WSForm does by itself.

  • Additional information for each field such as:
    • Label
    • Sectionname
    • Groupname
    • Fieldtype
  • Grouping of repeatable sections to get information on a per-row basis

To use this plugin Advanced Custom Fields Pro needs to be installed. It provides the option page and input fields to map hooks with the webhook url.

That´s it!

{
"0": {
"label": "Label of Field with ID 0",
"section": "Section title",
"group": "Group title",
"type": "text",
"value": [
"foo"
]
},
"section_8": {
"label": "Section title",
"rows": {
"1": {
"84": {
"label": "Label of Field with ID 84 in row 1 of section 8",
"type": "radio",
"value": [
"foo"
]
},
"85": {
"label": "Label of Field with ID 85 in row 1 of section 8",
"type": "checkbox",
"value": [
"bar"
]
}
},
"2": {
"84": {
"label": "Label of Field with ID 84 in row 2 of section 8",
"type": "radio",
"value": [
"foo2"
]
},
"85": {
"label": "Label of Field with ID 85 in row 2 of section 8",
"type": "checkbox",
"value": [
"bar2",
"bar3"
]
}
}
}
}
}
  • PHP100%