Title: Update passwords programmatically?
Last modified: May 26, 2020

---

# Update passwords programmatically?

 *  Resolved [Daniele De Rosa](https://wordpress.org/support/users/bloodspencer/)
 * (@bloodspencer)
 * [6 years ago](https://wordpress.org/support/topic/update-passwords-programmatically/)
 * Is there the possibility to update the possible passwords programmatically? I
   send custom generated passwords after a login request to the user and need to
   update this password in the specific protected page after the user sends a Contact
   Form 7 form.
 * Is this possible with your plugin? Thanks in advance for your feedback 🙂

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andreas Münch](https://wordpress.org/support/users/andreasmuench/)
 * (@andreasmuench)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/update-passwords-programmatically/#post-12893885)
 * Hi [@bloodspencer](https://wordpress.org/support/users/bloodspencer/),
 * the passwords are saved in the post_meta entry with the key ‘_mpp_additional_passwords’,
   seperated with line breaks “\n”.
 * If you know a little of PHP programming you should be able to set/update them
   after sending your email with the passwords.
 * `update_post_meta( $post_id, '_mpp_additional_passwords', $passwords );`

Viewing 1 replies (of 1 total)

The topic ‘Update passwords programmatically?’ is closed to new replies.

 * ![](https://ps.w.org/multiple-post-passwords/assets/icon.svg?rev=1963120)
 * [Multiple Post Passwords](https://wordpress.org/plugins/multiple-post-passwords/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-post-passwords/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-post-passwords/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-post-passwords/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-post-passwords/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-post-passwords/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andreas Münch](https://wordpress.org/support/users/andreasmuench/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/update-passwords-programmatically/#post-12893885)
 * Status: resolved