Created
January 29, 2024 14:36
-
-
Save acal/5b48e0965ce059424e4d390ffedc398c to your computer and use it in GitHub Desktop.
PMPro Pre-check gift recipient email option and reveal fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
// Pre-check gift recipient email option and reveal fields | |
jQuery(document).ready(function($) { | |
$('#pmprogl_send_recipient_email').prop('checked', true); | |
$('.pmprogl_checkout_field_div').removeAttr('style'); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment