A WordPress-centric search engine for devs and theme authors



get_date_template ›

Since1.5.0
Deprecatedn/a
get_date_template ( No parameters )
See:
Returns:
  • (string) Full path to date template file.
Defined at:
Codex:

Retrieve path of date template in current or parent template.

The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} and {@see '$type_template'} dynamic hooks, where $type is 'date'.



Source

function get_date_template() {
	return get_query_template( 'date' );
}