wpseek.com
WordPress开发者和主题制作者的搜索引擎



the_password_form › WordPress过滤钩子

Since6.8.0
已弃用n/a
› apply_filters( 'the_password_form', $output, $post, $invalid_password )
参数: (3)
  • () output The password form HTML output.
    Required: Yes
  • () post Post object, or null if no post is found.
    Required: Yes
  • () invalid_password The invalid password message.
    Required: Yes
定义在:
文档:

Filters the HTML output for the protected post password form.

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.




源码

return apply_filters( 'the_password_form', $output, $post, $invalid_password );