Last active
May 6, 2025 15:54
-
-
Save bryanwillis/1695cf323fba9e1334c712f546383c2a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function add_client_pay_portal() { | |
?> | |
<script type="text/javascript" src="https://nuvei.paycenter.app/client_portal.js"></script> | |
<script type="text/javascript"> | |
window.clientPortal.init('62GHN'); | |
</script> | |
<?php | |
} | |
add_action( 'wp_footer', 'add_client_pay_portal' ); | |
// add the following URL somewhere on the site: <a href="#" class="show-client-portal">Client Portal</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment