A WordPress-centric search engine for devs and theme authors



the_password_form ›

Since2.7.0
Deprecatedn/a
apply_filters( 'the_password_form', $output )
Parameters:
  • (string) $output The password form HTML output.
    Required: Yes
Defined at:
Codex:

Filters the HTML output for the protected post password form.

If modifying the password field, please note that the core database schema limits the password field to 20 characters regardless of the value of the size attribute in the form input.





Source

return apply_filters( 'the_password_form', $output );