W3cubDocs

/WordPress

get_paged_template(): string

Retrieve path of paged template in current or parent template.

Return

string Full path to paged template file.

Source

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–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_paged_template