WordPress hook directory
page_template

WordPress version history for page_template

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
1.5.2 wp-includes/functions.php 1698 View in context filter
2.0 wp-includes/functions.php 1968 View in context filter
2.0.11 wp-includes/functions.php 2047 View in context filter
2.1 wp-includes/theme.php 361 View in context filter
2.2 wp-includes/theme.php 363 View in context filter
2.3 wp-includes/theme.php 396 View in context filter
2.5 wp-includes/theme.php 429 View in context filter
2.6 wp-includes/theme.php 429 View in context filter
2.7 wp-includes/theme.php 687 View in context filter
2.8 wp-includes/theme.php 708 View in context filter
2.9 wp-includes/theme.php 861 View in context filter
3.0 wp-includes/theme.php 942 View in context filter

Important warning!

This hook does not occur in the most recent version of WordPress (5.1). Do not use it. It is deprecated. You should look at the list of "related hooks" below to see if you can figure out what replaced it.

Related Hooks

We find related hooks using word stems. page_template has 2 significant word stem(s): page, template. Note that some of the hooks below may not appear in all versions of WP.