next_posts_link

The timeline below displays how wordpress function next_posts_link has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.6

/**
 * Displays the next posts page link.
 *
 * @since 0.71
 *
 * @param string $label    Content for link text.
 * @param int    $max_page Optional. Max pages. Default 0.
 */
function next_posts_link($label = null, $max_page = 0)
{
    echo get_next_posts_link($label, $max_page);
}

WordPress Version: 4.3

/**
 * Display the next posts page link.
 *
 * @since 0.71
 *
 * @param string $label    Content for link text.
 * @param int    $max_page Optional. Max pages.
 */
function next_posts_link($label = null, $max_page = 0)
{
    echo get_next_posts_link($label, $max_page);
}

WordPress Version: 4.1

/**
 * Display the next posts page link.
 *
 * @since 0.71
 *
 * @param string $label Content for link text.
 * @param int $max_page Optional. Max pages.
 */
function next_posts_link($label = null, $max_page = 0)
{
    echo get_next_posts_link($label, $max_page);
}

WordPress Version: 3.7

/**
 * Display the next posts page link.
 *
 * @since 0.71
 * @uses get_next_posts_link()
 *
 * @param string $label Content for link text.
 * @param int $max_page Optional. Max pages.
 */
function next_posts_link($label = null, $max_page = 0)
{
    echo get_next_posts_link($label, $max_page);
}