Created
August 13, 2019 18:50
-
-
Save dparker1005/30de9ab34ed83298004b704f67499af3 to your computer and use it in GitHub Desktop.
Removes the 'change' button from the PMPro membership account page
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 | |
// 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