Home Forums General Issues Save DateTime field as unix timestamp


Save DateTime field as unix timestamp

  • Hello,

    I am using acf builder and sage theme. I am trying to Save DateTime field output as unix timestamp here
    it shows an example but I didn’t understand it.

    where should I put the code? in functions.php? and what values should I Provide?
    and are the filters for the pro version?

    please help me understand because I am junior developer.

  • You add a filter on the acf/update_value hook, in goes in functions.php, you do not need the pro version to do this.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.