• Resolved James Hunt

    (@bonkerz)


    Hi

    We are seeing this script inserted in to the footer of every page of our website, even where UM is not being used.

    <script type="text/javascript">
    jQuery( window ).on( 'load', function() {
    jQuery('input[name="um_request"]').val('');
    });</script>

    This is inserted by um_add_form_honeypot_js() function in ultimate-member/includes/core/um-actions-global.php

    How to deactivate this script from loading?

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @bonkerz

    You can try disabling it with the following code snippet:

    remove_action( 'wp_footer', 'um_add_form_honeypot_js', 99999999999999999 );

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @bonkerz

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help… ??

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add_form_honeypot_js loaded on every page of website’ is closed to new replies.