2020-05-02 / 2901阅 / 悠然
Determines whether currently in 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> Conditional Tags article in the Theme Developer Handbook.
(string|array)
(Optional)
The specific template filename or array of templates to match.
Default value: ''
(bool) True on success, false on failure.