I am attempting to edit a form’s submission variables before they are submitted to the action URL. I am able to accomplish what I want by changing
$args[ $vars['key'] ] = $value;
in the initial foreach loop of the process() function in action-webhooks.php to
if (is_array ($value)) {
$args[ $vars['key'] ] = implode(';', $value);
}
else {
$args[ $vars['key'] ] = $value;
}
This is obviously a bad solution since this code will be overwritten if the plugin is updated. Is there an action or filter that I can use to accomplish this from my own code? Thanks.
From what I can tell, it looks like using the ninja forms processing method you can set the variables before the form is completely processed.