Created
March 6, 2020 00:10
-
-
Save ronalfy/713cdb7d1e8e2ff1286c61ead12a137c to your computer and use it in GitHub Desktop.
Paid Memberships Pro Renew Message to User
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
<?php | |
function pmpro_renew_smk() { | |
if ( ! is_user_logged_in() ) { | |
return; | |
} | |
?> | |
<div id="custom_renew_message" class="alert">This is a custom renew message shown to the user.</div> | |
<?php | |
} | |
add_action( 'pmpro_checkout_after_level_cost', 'pmpro_renew_smk' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment