CF7: widget not loading due to classes in submit button
-
Hi,
I believe I discovered a bug, where the Turnstile scripts are not loaded due to custom classes in the CF7 Submit button.
For example, the markup for my button is
<input class="wpcf7-form-control has-spinner wpcf7-submit button button--secondary" type="submit">which does not conform to any of the options in /simple-cloudflare-turnstile/inc/contact-form-7.php lines 46-51.
Would it be possible to wrap the $button_styles in a filter, so we can target the required markup? For example:
$button_types = apply_filters( 'cfturnstile_button_types', $button_types );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘CF7: widget not loading due to classes in submit button’ is closed to new replies.