WordPress.org

Ready to get started?Download WordPress

Forums

Types - Custom Fields and Custom Post Types Management
[resolved] Cancel Date issues when Date is empty (4 posts)

  1. bykastar
    Member
    Posted 1 year ago #

    How can I do this?
    In my case date from postmeta table is used for ordering posts.
    And it was very suitable for me that empty date stores like "1970..."

    http://wordpress.org/extend/plugins/types/

  2. mbigul
    Member
    Plugin Author

    Posted 1 year ago #

    Dear bykastar,

    Please describe little more about your issue.

    [ Signature moderated. Bigul? You really need to disable that auto signature. ]

  3. bykastar
    Member
    Posted 1 year ago #

    I just want to save something like "0" in database, when I save empty custom field with type "date". So I'm interesting in something like hooks in your plugin to do that.

    In last update 1.3 nothing is saved when field is empty. It's good, but not for me.

  4. mbigul
    Member
    Plugin Author

    Posted 1 year ago #

    Dear bykastar,

    It will be hard to achieve. Also note that setting value as 0 will interpret as date 01-01-1970.

    [ Signature moderated. ]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags