apply_filters( 'the_password_form', string $output )

Filters the HTML output for the protected post password form.


Description Description

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.


Parameters Parameters

$output

(string) The password form HTML output.


Top ↑

Source Source

File: wp-includes/post-template.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.