WordPress at a glance
filter is not described

the_password_form filter-hook . WP 2.7.0

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.


add_filter( 'the_password_form', 'filter_function_name_1568' );
function filter_function_name_1568( $output ){
	// filter...

	return $output;
The password form HTML output.


Since 2.7.0 Introduced.

Where the hook is called

wp-includes/post-template.php 1726
return apply_filters( 'the_password_form', $output );

Where in WP core the hook is used

Usage not found!