Created
August 20, 2018 04:00
-
-
Save codehaiku/546ea34c3b9a3eaf3b2ea72744b2dd23 to your computer and use it in GitHub Desktop.
bp-prevent-profile-update.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
add_action('bp_nouveau_get_submit_button', function(){ | |
?> | |
<div class="alert alert-danger mg-top-10"> | |
<p> | |
Changing email and password is currently disabled by the Administrator | |
of this demo. This is to prevent other users from changing the demo password and preventing everyone | |
to access this demo site. Sorry for any inconvenience. | |
</p> | |
</div> | |
<p> | |
<button type="button" disabled class="button-primary button btn"> | |
Saving Disabled | |
</button> | |
</p> | |
<?php | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment