Forked from dparker1005/my_pmpro_remove_change_level_link.php
Created
January 31, 2024 18:57
-
-
Save kimwhite/0a644fc2ac911560cd340d5e35a1ace5 to your computer and use it in GitHub Desktop.
Removes the 'change' button from the PMPro membership account page
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 | |
// Copy from below here | |
function my_pmpro_remove_change_level_link() { | |
?> | |
<style> | |
#pmpro_actionlink-change { | |
display: none; | |
} | |
</style> | |
<?php | |
} | |
add_action( 'pmpro_member_action_links_before', 'my_pmpro_remove_change_level_link' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment