get_calendar


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

Parameters:
  • (bool) initial Optional, default is true. Use initial calendar names.
  • (bool) echo Optional, default is true. Set to false for return.
Returns:
  • (void|string) Void if `$echo` argument is true, calendar HTML if `$echo` is false.
Defined at:

Description

Display 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_category, get_cat_name, get_children

Top Google Results

User discussions

wpseek mobile