Is there a theme function for is_password_protected()?
Yes there is. It’s post_password_required: Whether post requires password and correct password has been provided.
Yes there is. It’s post_password_required: Whether post requires password and correct password has been provided.
How to customize reset_url or $reset_url
The issue is that the browser doesn’t pass the hash value in the request, it is parsed by the browser itself. Since the server doesn’t know about the hash it can’t forward it along after the login. You do have access to the hash with javascript though…Without seeing your code I can’t give you a … Read more
I haven’t looked into it, but any hook on the page that processes the new user registration will have access to the $_POST data and as such you could get it from there. I agree with the other comments above, you should be able to use use the WordPress hash and check the password on … Read more
In the fairly recent past, WordPress changed how the password change works. It looks as though you can’t set your own password; but in fact you still can: Click on “Generate Password,” and then, when the automatically generated gobbledygook password comes up, simply edit that field to type in your desired password.
Maybe this is not the answer you look for but giving one of below a try could maybe help you out?! Ofcourse you have FTP or SSL access. If you don’t have one of them, don’t bother to read any further! The good old make a backup from in this case functions.php before you start … Read more
I’ve managed to find why I couldn’t change the error message. For some reason, our old dev has put a login_error_override() in Theme’s Function (function.php from theme). After commented the function call, my custom error worked perfectly, as well the original error messages from theme, wordpress and plugins. //add_filter(‘login_errors’, ‘login_error_override’);
I’ve had a look at WordPress’ core code and couldn’t find anything really useful to add a filter on the post password. You could use the filter wp_insert_post_empty_content, it is used to check whether the required fields of the post are set or not (e.g.: title). Here is an example on how it could be … Read more
How can I find users that didn’t set a password?
How to redirect user to specific page based on the input password