WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about the_password_form

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post-template.php apply_filters 1765 /**
* 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.
*
* @since 2.7.0
* @since 5.8.0 Added the `$post` parameter.
*
* @param string $output The password form HTML output.
* @param WP_Post $post Post object.
*/

Hook Parameters

Parameter Type Name Description
string $output The password form HTML output.
WP_Post $post Post object.