-
-
Save Roy-Oto/41b06fd66b3119c644f1bf47d63025d4 to your computer and use it in GitHub Desktop.
How to change the wording of the password input screen
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
function my_password_form() { | |
return '<p>ここが説明文</p> | |
<form class="post_password" action="' . home_url() . '/wp-login.php?action=postpass" method="post"> | |
パスワード <input name="post_password" type="password" size="24" /> <input type="submit" name="Submit" value="' . esc_attr__("ボタン") . '" /> | |
</form>'; | |
} | |
add_filter('the_password_form', 'my_password_form'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment