2020-05-01 / 3234阅 / 悠然
Get the specific template filename for a given post.
(int|WP_Post)
(Optional)
Post ID or WP_Post object. Default is global $post.
Default value: null
(string|false) Page template filename. Returns an empty string when the default page template is in use. Returns false if the post does not exist.