PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.2.24
MxChat – AI Chatbot & Content Generation for WordPress v3.2.24
3.2.25 3.2.24 3.2.23 3.2.22 3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 All 156 releases
← All changes | includes/admin-settings-page.php +10 -0 3.2.21 → 3.2.24 View file →
@@ -512,8 +512,18 @@
512 512 // Consent Required
513 513 mxchat_render_field_wrapper('consent_checkbox_required', __('Require Consent to Submit', 'mxchat'), function() use ($admin_instance) {
514 514 $admin_instance->consent_checkbox_required_callback();
515 515 }, __('Block form submission until the box is ticked. Off means the checkbox is optional (a soft opt-in).', 'mxchat'));
516 +
517 + // Also show for logged-in users (c0cfaf)
518 + mxchat_render_field_wrapper('lead_capture_logged_in_toggle', __('Also Show for Logged-In Users', 'mxchat'), function() use ($admin_instance) {
519 + $admin_instance->lead_capture_logged_in_toggle_callback();
520 + }, __('Show the form to signed-in visitors too, pre-filled from their profile. Off means signed-in visitors skip it, as they do today.', 'mxchat'));
521 +
522 + // Require email (c0cfaf)
523 + mxchat_render_field_wrapper('lead_capture_require_email_toggle', __('Require Email Address', 'mxchat'), function() use ($admin_instance) {
524 + $admin_instance->lead_capture_require_email_toggle_callback();
525 + }, __('Off means the email field is optional, so you can collect a name (and consent) without an address.', 'mxchat'));
516 526 ?>
517 527 </div>
518 528 </div>
519 529