get_calendar

FUNCTION wp-includes\general-template.php (ligne 2246) github
Displays calendar with days that have posts as links. The calendar is cached, which will be retrieved, if it exists. If there are no posts for the month, then it will not be displayed.

Paramètres

Entrée :
$args = array(
Sortie :
@param array $args {
@return void|string Void if `$display` argument is true, calendar HTML if `$display` is false.

Utilisation

// Utilisation de la fonction get_calendar
$result = get_calendar($args = array();

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...