You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$response['message'] = $is_upgrading ? __( 'Membership upgraded successfully.', 'user-registration' ) : __( 'New member has been successfully created with successful stripe payment.', 'user-registration' );
1006
+
$response['message'] = $is_upgrading ? __( 'Membership upgraded successfully.', 'user-registration' ) : get_option( 'user_registration_successful_membership_creation_message', esc_html__( 'New member has been successfully created.', 'user-registration' ) );
1007
1007
$response['status'] = true;
1008
1008
1009
1009
return$response;
@@ -1144,7 +1144,7 @@ public function sendEmail( int $ID, $member_subscription, array $membership_meta
1144
1144
}
1145
1145
1146
1146
returnarray(
1147
-
'message' => $is_upgrading ? __( 'Membership upgraded successfully.', 'user-registration' ) : __( 'New member has been successfully created with successful stripe payment.', 'user-registration' ),
1147
+
'message' => $is_upgrading ? __( 'Membership upgraded successfully.', 'user-registration' ) : get_option( 'user_registration_successful_membership_creation_message', esc_html__( 'New member has been successfully created.', 'user-registration' ) ),
1148
1148
'status' => true,
1149
1149
);
1150
1150
}
@@ -1661,7 +1661,7 @@ public function create_subscription( $customer_id, $payment_method_id, $member_i
$response['message'] = __( 'New member has been successfully created with successful stripe subscription.', 'user-registration' );
1664
+
$response['message'] = get_option( 'user_registration_successful_membership_creation_message', esc_html__( 'New member has been successfully created.', 'user-registration' ) );
0 commit comments