Treehouse: Grow your CSS skills. Land your dream job.

WP: Can you retrieve the last edit date of a field on a custom options page?

  • # September 14, 2011 at 1:44 pm

    In WordPress, is there a way to output the last edit date for a field on a custom option page?

    For example, if I have a field called announcement on a custom options page, I’d like to know when that field was last filed/edited and output the date and time.

    I know WordPress has the tag called “the_modified_time” but this is used for posts.

    I tried looking in the database. I believe custom option fields are stored in wp_postmeta. If that is correct, I don’t see a timestamp stored with the key,value pairs so I’m assuming I wouldn’t be able to pull a date/timestamp then.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.