get_paged_template

Retrieve path of paged template in current or parent template.

Description

(string) get_paged_template(); 

Returns (string)

Full path to paged template file.


Usage

  1. if ( !function_exists( 'get_paged_template' ) ) { 
  2. require_once ABSPATH . WPINC . '/deprecated.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = get_paged_template(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/deprecated.php  
  1. function get_paged_template() { 
  2. _deprecated_function( __FUNCTION__, '4.7.0' ); 
  3.  
  4. return get_query_template( 'paged' );