get_calendar ( $initial = true, $display = true )

  • (bool) initial Optional. Whether to use initial calendar names. Default true.
  • (bool) display Optional. Whether to display the calendar output. Default true.
  • (void|string) Void if `$display` argument is true, calendar HTML if `$display` is false.
Defined at:


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.

Related Functions

get_locale, get_catname, get_cli_args, get_children, get_commentdata

Top Google Results

User discussions

wpseek mobile