Used By
Used By | Description |
---|---|
wp-includes/post-template.php: post_password_required() | Whether post requires password and correct password has been provided. |
Filters whether a post requires the user to supply a password.
(bool) Whether the user needs to supply a password. True if password has not been provided or is incorrect, false if password has been supplied or is not required.
(WP_Post) Post data.
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_password_required