• Documentation
  • Support / Community
  • Products
    • Piklist Framework
    • Toolbox
    • Fields and Forms
    • WordPress Helpers
  • Log In
Piklist

Access your account, and post on the Support Forums

Retrieve Password | Register for account

Topic: Manipulate input data before post meta save

Support Home » Topics » Piklist » Manipulate input data before post meta save

Tagged: custom_fields, password, post_meta, secure passwords

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 11 months ago by cjwebdesigntt.
Viewing 2 reply threads
  • Author
    Posts
    • March 2, 2016 at 3:37 pm #6025
      cjwebdesigntt
      Member

      Hi,

      Is there a filter that either Piklist or WP provides where you can manipulate the data being saved to the database for custom fields (post meta) such as piklist_pre_update_option?

      Can piklist_pre_update_option be used to do this?

      I’m developing a small client management system that keeps tracks of all the ftp account and domains etc and I would like to save the username and password for these accounts in a custom post type (e.g. Accounts) and would like to save the password using WP hashing functions or bcrypt.

      Suggestions?

    • March 3, 2016 at 4:54 am #6026
      ndbe
      Member

      You can also use standard “save_post” filter and modify the fields you want after.

    • March 5, 2016 at 4:01 pm #6032
      cjwebdesigntt
      Member

      Hi ndbe,

      Thanks for the suggestion, I will try it. I came across that filter but was unsure since it fires after the post is saved and wanted to manipulate before it was saved to the database but perhaps this is my best shot. I will let you know if it works out.

      Thanks again

  • Author
    Posts
Viewing 2 reply threads
  • You must be logged in to reply to this topic.
Log In

Log in / Register

Register for an Account

Stay up-to-date with Piklist

About

  • Philosophy
  • Privacy Policy
  • Terms of Service
  • Contact Us
  • Register for an account

Resources

  • Community Forums
  • Documentation
  • Tutorials
  • Get involved

Follow Piklist

  • Like us on Facebook
  • Follow us on Twitter
  • Connect on Google +
  • Watch on YouTube

Rate Piklist


If you love Piklist leave us a 5 Star review on WordPress.org.

News

  • Piklist v0.9.9.8 is now available

    September 30, 2019

    In October of 2015, we released v0.9.9 of Piklist. Your help in testing lead to seven(7) m ...

  • Piklist is now on HackerOne

    September 30, 2019

    We built Piklist from the ground up with security as our top priority. While we’ve t ...

  • Read all News
  • Powered by Piklist & WordPress © 2009 – 2022 Piklist LLC.
    This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies. Find out more.