Skip to content

Commit f6100ed

Browse files
fix: store subscriber data
1 parent fdcee80 commit f6100ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/classes/wp-maintenance-mode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,7 @@ public function send_contact() {
13851385
*/
13861386
public function otter_add_subscriber( $form_data ) {
13871387
if ( $form_data ) {
1388-
$input_data = $form_data->get_payload_field( 'formInputsData' );
1388+
$input_data = $form_data->get_data_from_payload( 'formInputsData' );
13891389
$input_data = array_map(
13901390
function( $input_field ) {
13911391
if ( isset( $input_field['type'] ) && 'email' === $input_field['type'] ) {

0 commit comments

Comments
 (0)