Glossary Term
is_page_template()
3 tags
1 category
is_page_template() — Determines whether the current post uses a page template. This template tag allows you to determine if you are in a page template. You can optionally provide a template filename or array of template filenames and then the check will be specific to that template. For more information on this and similar theme functions, check out the {
Inputs: $template (string|string[]): The specific template filename or array of templates to match.
Returns bool: True on success, false on failure.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
