apply_filters( 'the_password_form_incorrect_password', string $text , WP_Post $post )
Filters the invalid password message shown on password-protected posts.
Description
The filter is only applied if the post is password protected.
Parameters
- $text
-
The message shown to users when entering an invalid password.
- $post
-
Post object.
Source
Changelog
Version | Description |
---|---|
6.8.0 | Introduced. |