WordPress.org

Forums

Toolset Types
[resolved] Cancel Date issues when Date is empty (4 posts)

  1. bykastar
    Member
    Posted 3 years 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
    Posted 3 years 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 3 years 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
    Posted 2 years 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

  • Toolset Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags