functions.php
//ob_ functions are used to suppress the previous_posts_link() and next_posts_link() from printing their output to the screen
ob_ functions are used to suppress the previous_posts_link() and next_posts_link() from printing their output to the screen
ob_ functions are used to suppress the previous_posts_link () and next_posts_link () from printing their output to the screen
function has_previous_posts() {
	ob_start();
	previous_posts_link();
	$result = strlen(ob_get_contents());
	ob_end_clean();
	return $result;
}
function has_previous_posts ( ) { ob_start ( ) ; previous_posts_link ( ) ; $ result = strlen ( ob_get_contents ( ) ) ; ob_end_clean ( ) ; return $ result ; }
ob_ functions are used to suppress the previous_posts_link() and next_posts_link() from printing their output to the screen
ob_ functions are used to suppress the previous_posts_link () and next_posts_link () from printing their output to the screen