* The Third Party integration with Caldera Forms.
* @subpackage LiteSpeed_Cache/thirdparty
namespace LiteSpeed\Thirdparty;
defined('WPINC') || exit();
* Integration with Caldera Forms to ensure proper nonce handling for cached pages.
* Detects if Caldera Forms is active and registers nonces accordingly.
* Hooks the plugin's frontend nonce pattern into LiteSpeed so cached pages
* still validate form submissions.
public static function detect() {
if (!defined('CFCORE_VER')) {
// plugins/caldera-forms/classes/render/nonce.php -> class Caldera_Forms_Render_Nonce
do_action('litespeed_nonce', 'caldera_forms_front_*');