wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



the_password_form_incorrect_password › Les Filtres WordPress

Depuis6.8.0
Dépréciéen/a
› apply_filters( 'the_password_form_incorrect_password', __( 'Invalid password.' )
Paramètres: (2)
  • () text The message shown to users when entering an invalid password.
    Requis: Oui
  • () post Post object.
    Requis: Oui
Défini(e) dans:
Codex:

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

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




Source

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