I want to change "Reset password" text on submit button to "Set password"
How can I change it?
I tried to change value with jQuery:
add_action( 'resetpass_form', 'resettext');
function resettext(){ ?>
<script type="text/javascript">
jQuery('#resetpassform input#wp-submit').val("Set Password");
</script>
<?php
}
But it didn't work, I don't know why