wpseek.com
A WordPress-centric search engine for devs and theme authors
post_password_expires › WordPress Filter Hooks
Since3.7.0
Deprecatedn/a
› apply_filters( 'post_password_expires', time()
| Parameters: |
|
| Defined at: |
|
| Codex: |
Filters the life span of the post password cookie.
By default, the cookie expires 10 days from creation. To turn this into a session cookie, return 0.Related Functions: post_password_required, wp_lostpassword_url, the_post_password, wp_password_needs_rehash, wp_set_password, get_password_reset_key
Related Hooks: post_password_required, lostpassword_redirect, lostpassword_errors, lostpassword_post, lost_password