Timeline for "is_new_day()" alternative for years?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 3, 2013 at 16:39 | vote | accept | user2019515 | ||
Apr 28, 2013 at 18:31 | comment | added | user2019515 | Oh right, I see now, thanks! Can I put this code in my functions.php file so I can use the function everywhere? I assume I need to make a filter for that then? What would you advice if I need it in multiple files? | |
Apr 28, 2013 at 13:42 | comment | added | fuxia♦ | @user2019515 no, it will be updated each time the year changes. | |
Apr 28, 2013 at 11:20 | comment | added | user2019515 |
I don't understand why you're comparing with $last this variable is always 0, isn't it?
|
|
Apr 27, 2013 at 0:31 | history | answered | fuxia♦ | CC BY-SA 3.0 |