• Resolved zovar

    (@zovar)


    Is there a replacement method for the_date()? I am creating an array of posts with

    ‘id’=>get_the_id(), ‘date’=>the_date(”,”,”,FALSE)

    but this doesn’t work, because the_date() returns the value only once. I can’t use the_time() either because there is no option to return the value, only echo it.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding the_date() to an array()’ is closed to new replies.