previous_posts_link

Displays the previous posts page link.

Description

previous_posts_link( (null) $label = null ); 

Parameters (1)

0. $label — Optional. (null) => null
Previous page link text.

Usage

  1. if ( !function_exists( 'previous_posts_link' ) ) { 
  2. require_once ABSPATH . WPINC . '/link-template.php'; 
  3.  
  4. // Optional. Previous page link text. 
  5. $label = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = previous_posts_link($label); 
  9.  

Defined (1)

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

/wp-includes/link-template.php  
  1. function previous_posts_link( $label = null ) { 
  2. echo get_previous_posts_link( $label );