Filters the HTML output for the protected post password form.
Description
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.
1824* @since 6.8.0 Added the `$invalid_password` parameter.1825*1826* @param string$output The password form HTML output.1827* @param WP_Post$post Post object.1828* @param string$invalid_password The invalid password message.1829*/1830returnapply_filters('the_password_form',$output,$post,$invalid_password);1831}18321833/**1834* Determines whether the current post uses a page template.1835*1836* This template tag allows you to determine if you are in a page template.
History
Introduced in 2.7.0. One change between 6.7.7 and 7.1.0.