wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



the_password_form_incorrect_password › WordPress Filter Hooks

Seit6.8.0
Veraltetn/v
apply_filters( 'the_password_form_incorrect_password', __( 'Invalid password.' )
Parameter: (2)
  • () text The message shown to users when entering an invalid password.
    Erforderlich: Ja
  • () post Post object.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the invalid password message shown on password-protected posts.

The filter is only applied if the post is password-protected.




Quellcode

$invalid_password      = apply_filters( 'the_password_form_incorrect_password', __( 'Invalid password.' ), $post );