WPDev.one
Core Function
View Source on Trac ↗

get_calendar()

get_calendar( mixed $args = array() )

Displays calendar with days that have posts as links.

Parameters 1 required

Name / Type Description
array

$args { Optional. Arguments for the `get_calendar` function.

Required

Return Value

((void)
| string) Void if `$display` argument is true, calendar HTML if `$display` is false.

Function Information

Since Version
1.0.0
Source File
wp-includes/general-template.php
Advertisement