is_page_template Wordpress function


Description:

Whether currently in a page template.


Syntax:


Arguments:

(string) $template The specific template name if specific matching is required.


Return Type:

(bool) False on failure, true if success.


Define At:

wp-includes/post-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/is_page_template


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×