[wp-hackers] Is today a new day?! - is_new_day()

Mo Braga Mo.Braga at LBi.com
Thu May 20 09:09:26 UTC 2010

How about this: You want something (eg a counter) to be reset at the first time somebody accesses your site, every day.

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Baki Goxhaj
Sent: 19 May 2010 15:30
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] Is today a new day?! - is_new_day()

Hi dear hackers,

Today I came across a wp functions that looks like this *is_new_day()** and
what it does is: "This Conditional Tag checks if today is a new day." The
description is at the limits of lazyness I think :) Can anyone tell me how
does this function help a hacker to make his/her life easier? An example
would be perfect.



Baki Goxhaj
www.wplancer.com | www.banago.info | www.lintuts.com
wp-hackers mailing list
wp-hackers at lists.automattic.com

LBi Ltd is registered in England and Wales, the registered number and address are 03080409, Truman Brewery, 146 Brick Lane, London, E1 6RU.  This email may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

More information about the wp-hackers mailing list