get_404_template


get_404_template ( No parameters )

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

Description

Retrieves path of 404 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 '404'.

Related Functions

get_template, get_tag_template, get_date_template, get_home_template, get_page_template

Top Google Results

User discussions

wpseek mobile