get_post_type_archive_template


get_post_type_archive_template ( No parameters )

See:
Returns:
  • (string) Full path to archive template file.
Defined at:

Description

Retrieve path of post type archive 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 'archive'.

Related Functions

get_post_type_archive_link, get_archive_template, post_type_archive_title, get_post_type_archive_feed_link, get_search_template

Top Google Results

User discussions

wpseek mobile