-
-
Save ideadude/a39c5b5e593f04845a7dd5104974f577 to your computer and use it in GitHub Desktop.
Post v2.1 TOS code in pages/checkout.php.
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
<?php | |
if ( isset( $_REQUEST['tos'] ) ) { | |
$tos = intval( $_REQUEST['tos'] ); | |
} else { | |
$tos = ""; | |
} | |
?> | |
<input type="checkbox" name="tos" value="1" id="tos" <?php checked( 1, $tos ); ?> /> <label class="pmpro_label-inline pmpro_clickable" for="tos"><?php printf(__('I agree to the %s', 'paid-memberships-pro' ), $tospage->post_title);?></label> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment