previous_posts

Definition:
function previous_posts( $echo = true ) {}

Display or return the previous posts page link.

Parameters

  • boolean $echo: Optional. Echo or return;

Source code

function previous_posts( $echo = true ) {

	$output = esc_url( get_previous_posts_page_link() );



	if ( $echo )

		echo $output;

	else

		return $output;

}

2613

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: