Warning: This function has been deprecated. The paged.php template is no longer part of the theme template hierarchy instead.
get_paged_template() WordPress Function
The get_paged_template() function is used to retrieve a template file for the current page. This function is useful for creating custom page templates.
get_paged_template() #
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' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.7.0 | The paged.php template is no longer part of the theme template hierarchy. |
1.5.0 | Introduced. |