Filters the invalid password message shown on password-protected posts.
Description
The filter is only applied if the post is password protected.
Parameters
$textstring- The message shown to users when entering an invalid password.
$postWP_Post- Post object.
Source
$invalid_password = apply_filters( 'the_password_form_incorrect_password', __( 'Invalid password.' ), $post );
Changelog
| Version | Description |
|---|---|
| 6.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.