post_password_required – filter
Filters whether a post requires the user to supply a password.
Parameters
- .
- ( 4.7.0 ) . .
- ( bool ) $required 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. . . .
- $post
- ( WP_Post ) Post object. . . .