Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save eyecandy91/53ecb48d918019ebe45667dc15c3edb6 to your computer and use it in GitHub Desktop.
Save eyecandy91/53ecb48d918019ebe45667dc15c3edb6 to your computer and use it in GitHub Desktop.
change reset password button text
add_action( 'resetpass_form', 'resettext');
function resettext(){ ?>
<script type="text/javascript">
jQuery( document ).ready(function() {
jQuery('#resetpassform input#wp-submit').val("Set Password");
});
</script>
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment