'Removes the "Leave a Reply" form (#commentform) from every page.' ) ); CFSP_UI::card_end(); CFSP_UI::card_start( 'Form submissions', 'Send plain HTML forms to a form service such as Formspree, Getform, Basin or your own Cloudflare Worker.' ); CFSP_UI::toggle( 'forms_endpoint_on', 'Send POST forms to an external endpoint', array( 'help' => 'Rewrites the action of every method="post" form (search forms are left alone).' ) ); CFSP_UI::input( 'forms_endpoint', 'Endpoint URL', array( 'type' => 'url', 'placeholder' => 'https://formspree.io/f/your-id', 'show_if' => 'forms_endpoint_on', ) ); CFSP_UI::notice( 'Forms that submit with JavaScript (Contact Form 7, WPForms, Gravity Forms in AJAX mode) talk to WordPress directly and won\'t work on the static site. Use the provider\'s hosted/embedded form instead.', 'warn', array( 'show_if' => 'forms_endpoint_on' ) ); CFSP_UI::card_end();