dequeue recaptcha
-
Somehow I can’t dequeue the recaptcha JS injection.
I’ve found the injection in your plugin here:wp_enqueue_script( 'evf-recaptcha', $recaptcha_api, 'v3' === $recaptcha_type ? array() : array( 'jquery' ), 'v3' === $recaptcha_type ? '3.0.0' : '2.0.0', true );Both methods are not working:
wp_dequeue_script('evf-recaptcha-js'); wp_dequeue_script('evf-recaptcha');I’ve even tried it within the action wp_print_styles or wp_enqueue_scripts.
Because of EU GDPR reasons I need to dequeue recaptcha which afterwards will be injected after user consent. For these works I firstly need to dequeue your recaptcha injection.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘dequeue recaptcha’ is closed to new replies.