diff --git a/shortcodes/self-serve-checksum/self-serve-checksum.php b/shortcodes/self-serve-checksum/self-serve-checksum.php index 85b125b..923fa94 100644 --- a/shortcodes/self-serve-checksum/self-serve-checksum.php +++ b/shortcodes/self-serve-checksum/self-serve-checksum.php @@ -77,43 +77,25 @@ public function shortcode_callback( $atts = [], $content = null, $tag = '' ) { } wp_enqueue_script('ss-cs-form', WP_CIVICRM_UX_PLUGIN_URL . WP_CIVICRM_UX_PLUGIN_NAME . '/public/js/self-serve-checksum.js', []); - ob_start(); + $args = [ + 'form_submitted' => $form_submitted, + 'turnstile' => $turnstile, + 'turnstile_passed' => $turnstile_passed, + 'form_text' => $formText, + 'url' => $url, + 'invalidMessage' => $invalidMessage, + ]; + ob_start(); ?>
- - - - - - - + + + + + \ No newline at end of file