wordpress / latest / functions / get_paged_template.html

get_paged_template(): string

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. View all references

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

	return get_query_template( 'paged' );
}

Uses

Uses Description

Changelog

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

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