Skip to content

Instantly share code, notes, and snippets.

@bryanwillis
Last active May 6, 2025 15:54
Show Gist options
  • Save bryanwillis/1695cf323fba9e1334c712f546383c2a to your computer and use it in GitHub Desktop.
Save bryanwillis/1695cf323fba9e1334c712f546383c2a to your computer and use it in GitHub Desktop.
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