• Henry

    (@henrywright-1)


    Does get_the_time() return the date the post was created or does it return the last modified date?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I’m 99.44% sure that it’s the date the post was initially published. I modify old posts all the time (spelling mistakes from years ago…) and I have not see those post dates change once.

    Hey Henry, by default it will return the time that your post has been published.

    Thanks for the feedback.

    For me, the last updated date is being returned. Any idea why this is happening? I, like yourselves, thought the creation date would be returned but on my install it seems to be the last updated date.

    Thread Starter Henry

    (@henrywright-1)

    Guys, yes, it does return the date created. I can confirm that after checking on a fresh site.

    thanks for you help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Question about get_the_time()’ is closed to new replies.