Is there any way to get the name of the page template?
I mean in a page template, at the beginning we write Template Name: template name
I want "template name
" by page-id
I've tried get_post_meta(get_the_ID(), '_wp_page_template', true) and get_page_template_slug($post_id)
but none of the function helped