Updates form subscription class to use the main API class instead of calling directly API endpoint
Modifies forms to pass api_version Modifies forms to pass store form-specific values (e.g., form_id, email) inside a separate data array
This commit is contained in:
@ -19,7 +19,7 @@ class Text extends Base {
|
||||
|
||||
$html .= '<input type="'.$type.'" class="mailpoet_text" ';
|
||||
|
||||
$html .= 'name="'.static::getFieldName($block).'" ';
|
||||
$html .= 'name="data['.static::getFieldName($block).']" ';
|
||||
|
||||
$html .= 'title="'.static::getFieldLabel($block).'" ';
|
||||
|
||||
|
Reference in New Issue
Block a user