Skip to content

Commit

Permalink
fix captcha being rendered twice in forminator
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinfuchs committed Jun 10, 2024
1 parent a20d7ff commit 9feabe4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion friendly-captcha/modules/forminator/forminator.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

add_action('forminator_render_button_markup', 'frcaptcha_forminator_add_captcha', 10, 2);
add_action('forminator_render_form_submit_markup', 'frcaptcha_forminator_add_captcha', 10, 2);
add_filter('forminator_cform_form_is_submittable', 'frcaptcha_forminator_verify', 10, 3);

function frcaptcha_forminator_add_captcha($html, $button)
Expand Down

0 comments on commit 9feabe4

Please sign in to comment.