WordPress hook directory
theme_page_templates

WordPress version history for theme_page_templates

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

Version File Line Type
3.9 wp-includes/class-wp-theme.php 982 View in context filter
4.0 wp-includes/class-wp-theme.php 979 View in context filter
4.1 wp-includes/class-wp-theme.php 978 View in context filter
4.2 wp-includes/class-wp-theme.php 981 View in context filter
4.3 wp-includes/class-wp-theme.php 1022 View in context filter
4.4 wp-includes/class-wp-theme.php 1033 View in context filter
4.5 wp-includes/class-wp-theme.php 1042 View in context filter
4.6 wp-includes/class-wp-theme.php 1057 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. theme_page_templates has 3 significant word stem(s): theme, page, templates. Note that some of the hooks below may not appear in all versions of WP.