get_paged_template()

This function has been deprecated. The paged.php template is no longer part of the theme template hierarchy instead.

Retrieve path of paged template in current or parent template.

Return

(string) Full path to paged template file.

Source

File: wp-includes/deprecated.php

function get_paged_template() {
	_deprecated_function( __FUNCTION__, '4.7.0' );

	return get_query_template( 'paged' );
}

Changelog

Version Description
4.7.0 The paged.php template is no longer part of the theme template hierarchy.
1.5.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_paged_template