• 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: Piklist Overwriting CPT Metadata

Support Home » Topics » Piklist » Piklist Overwriting CPT Metadata

Tagged: metadata

  • This topic has 1 reply, 2 voices, and was last updated 7 years, 10 months ago by Steve.
Viewing 1 reply thread
  • Author
    Posts
    • April 8, 2014 at 1:59 am #1645
      luminaire801
      Member

      Hi guys,

      I have a variable, created and populated inside the “publish_hour” (hour is my CPT) hook. I’ve been trying to save that variable to a metadata field, however, it seems that the data does get stored but get’s overwritten by a blank (I assume this is the value from the input box). Is there any way that I can prevent the data being overwritten?

      From what I have observed, the hook “publish_hour” gets fired twice, as when I added “wp_die();” the data was not overwritten.

    • April 8, 2014 at 6:50 am #1646
      Steve
      Keymaster

      Can you post some code for us to review?

  • Author
    Posts
Viewing 1 reply thread
  • 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.