How to restore the JavaScript download confirmation
-
Hello,
I’m trying to restore the download confirmation of a file (confirmation JavaScript)Some time ago I used this code to skip the confirmation (on mu-plugins), but when I try to change it or delete it, s2member doesn’t display the confirmation popup.
<?php add_action('wp_head', 'disable_s2_js_confirmations'); function disable_s2_js_confirmations() { echo '<script type="text/javascript">'; echo 'var ws_plugin__s2member_skip_all_file_confirmations = true;'; echo '</script>'; } ?>anyone know how to reset this feature?
Carlos
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘How to restore the JavaScript download confirmation’ is closed to new replies.