Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




is_new_day [ WordPress Function ]

is_new_day ( No parameters )
Uses:
  • $day
  • $previousday
Returns:
  • (int) 1 when new day, 0 if not a new day.
Defined at:



Whether today is a new day.

Source


<?php
function is_new_day() {
    global 
$currentday$previousday;
    if ( 
$currentday != $previousday )
        return 
1;
    else
        return 
0;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics