get_calendar


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

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

Description

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_cat_name, get_category, get_children

Top Google Results

User discussions

wpseek mobile