Skip to content

Instantly share code, notes, and snippets.

@wholebiz
wholebiz / gist:d37bbe097b38c076aa4467c2ed99aa7e
Created September 4, 2017 14:18
Function to change Register Button link
function paid_membership_pro_registration_url() {
$url = 'The_url_of_your_levels_page';
return $url;
}
function paid_membership_pro_register_btn() { ?>
<script type="text/javascript" id="paid_membership_pro_register_btn">
jQuery( document ).ready( function( $ ) {
"use strict";
var url = '<?php echo paid_membership_pro_registration_url(); ?>';