wpseek.com
A WordPress-centric search engine for devs and theme authors



the_password_form › WordPress Filter Hooks

Since6.8.0
Deprecatedn/a
apply_filters( 'the_password_form', $output, $post, $invalid_password )
Parameters: (3)
  • () output The password form HTML output.
    Required: Yes
  • () post Post object.
    Required: Yes
  • () invalid_password The invalid password message.
    Required: Yes
Defined at:
Codex:

Filters the HTML output for the protected post password form.

If modifying the password field, please note that the WordPress database schema limits the password field to 255 characters regardless of the value of the `minlength` or `maxlength` attributes or other validation that may be added to the input.




Source

return apply_filters( 'the_password_form', $output, $post, $invalid_password );