This database has information for all major versions from WP 1.2.1 through 5.7.
|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|
This hook does not occur in the most recent version of WordPress (5.7). 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.
We find related hooks using word stems. page_template has 2 significant word stem(s):
template. Note that some of the hooks below may not appear in all versions of WP.